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.
This commit is contained in:
parent
8f95b8a824
commit
5e53f36f34
@ -11,6 +11,9 @@
|
||||
$("#help_name").html("");
|
||||
zFormError("#help_name",data.error);
|
||||
}
|
||||
else {
|
||||
$("#newchannel-submit-button").removeAttr('disabled');
|
||||
}
|
||||
$("#name-spinner").hide();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user