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:
zotlabs 2018-02-22 23:54:43 -08:00
parent 8f95b8a824
commit 5e53f36f34

View File

@ -11,6 +11,9 @@
$("#help_name").html("");
zFormError("#help_name",data.error);
}
else {
$("#newchannel-submit-button").removeAttr('disabled');
}
$("#name-spinner").hide();
});
});