aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-22 23:54:43 -0800
committerzotlabs <mike@macgirvin.com>2018-02-22 23:54:43 -0800
commit5e53f36f340472c593d88e40d69628eac017f441 (patch)
treeab6e593688fb382615fd5e586a84dfb08a29696e /view
parent8f95b8a824351d9bfd0542ed90c19d8c4e26239c (diff)
downloadvolse-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.js3
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();
});
});