diff options
author | zotlabs <mike@macgirvin.com> | 2018-02-22 23:54:43 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-02-22 23:54:43 -0800 |
commit | 5e53f36f340472c593d88e40d69628eac017f441 (patch) | |
tree | ab6e593688fb382615fd5e586a84dfb08a29696e /view | |
parent | 8f95b8a824351d9bfd0542ed90c19d8c4e26239c (diff) | |
download | volse-hubzilla-5e53f36f340472c593d88e40d69628eac017f441.tar.gz volse-hubzilla-5e53f36f340472c593d88e40d69628eac017f441.tar.bz2 volse-hubzilla-5e53f36f340472c593d88e40d69628eac017f441.zip |
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.
Diffstat (limited to 'view')
-rw-r--r-- | view/js/mod_new_channel.js | 3 |
1 files changed, 3 insertions, 0 deletions
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(); }); }); |