From 5e53f36f340472c593d88e40d69628eac017f441 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 22 Feb 2018 23:54:43 -0800 Subject: mod_new_channel: don't require nickname validation after name validation (which generates a valid nickname). Enable the submit button as long as there are no errors. --- view/js/mod_new_channel.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js index 7ae59032a..e78de2596 100644 --- a/view/js/mod_new_channel.js +++ b/view/js/mod_new_channel.js @@ -11,6 +11,9 @@ $("#help_name").html(""); zFormError("#help_name",data.error); } + else { + $("#newchannel-submit-button").removeAttr('disabled'); + } $("#name-spinner").hide(); }); }); -- cgit v1.2.3