update some old spinners which were causing js issues

This commit is contained in:
zotlabs
2017-10-05 19:20:39 -07:00
parent a0eb628526
commit 7c501ef60f
5 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
$(document).ready(function() {
// $("#id_permissions_role").sSelect();
$("#id_name").blur(function() {
$("#name-spinner").spin('small');
$("#name-spinner").show();
var zreg_name = $("#id_name").val();
$.get("new_channel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
$("#id_nickname").val(data);
@@ -9,12 +9,12 @@
$("#help_name").html("");
zFormError("#help_name",data.error);
}
$("#name-spinner").spin(false);
$("#name-spinner").hide();
});
});
$("#id_nickname").blur(function() {
$("#nick-spinner").spin('small');
$("#nick-spinner").show();
var zreg_nick = $("#id_nickname").val();
$.get("new_channel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
$("#id_nickname").val(data);
@@ -22,7 +22,7 @@
$("#help_nickname").html("");
zFormError("#help_nickname",data.error);
}
$("#nick-spinner").spin(false);
$("#nick-spinner").hide();
});
});