aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_new_channel.js
diff options
context:
space:
mode:
authorThomas Willingham <beardyunixer@beardyunixer.com>2014-09-18 17:08:23 +0100
committerThomas Willingham <beardyunixer@beardyunixer.com>2014-09-18 17:08:23 +0100
commit595be9919b0ce85087937985444477189381976c (patch)
treebc31493095cedd2bcf6a8fd280d1196450439c4e /view/js/mod_new_channel.js
parent65441b95bbf84f8f88445b6352995c9c89beb1f4 (diff)
parent0b47fb9a91b58147e616ea75a23dea0d431c40f8 (diff)
downloadvolse-hubzilla-595be9919b0ce85087937985444477189381976c.tar.gz
volse-hubzilla-595be9919b0ce85087937985444477189381976c.tar.bz2
volse-hubzilla-595be9919b0ce85087937985444477189381976c.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'view/js/mod_new_channel.js')
-rw-r--r--view/js/mod_new_channel.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js
index a3c1dd05c..882da940e 100644
--- a/view/js/mod_new_channel.js
+++ b/view/js/mod_new_channel.js
@@ -1,16 +1,20 @@
$(document).ready(function() {
$("#newchannel-name").blur(function() {
+ $("#name-spinner").spin('small');
var zreg_name = $("#newchannel-name").val();
$.get("new_channel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
$("#newchannel-nickname").val(data);
zFormError("#newchannel-name-feedback",data.error);
+ $("#name-spinner").spin(false);
});
});
$("#newchannel-nickname").blur(function() {
+ $("#nick-spinner").spin('small');
var zreg_nick = $("#newchannel-nickname").val();
$.get("new_channel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
$("#newchannel-nickname").val(data);
zFormError("#newchannel-nickname-feedback",data.error);
+ $("#nick-spinner").spin(false);
});
});