diff options
author | redmatrix <git@macgirvin.com> | 2016-02-19 13:36:48 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-02-19 13:36:48 -0800 |
commit | ebc66d7008adcfb104430ae527609df5da74188d (patch) | |
tree | a8d661e86fb26dc6e376d79e1add43e920a21ae0 /view/js/mod_new_channel.js | |
parent | 3f0eb84ecf8bfa373c98874ee8ba9ceb63ba5d1e (diff) | |
parent | fbc6c60805d733e16a3ff7fdf60f564ce69fab64 (diff) | |
download | volse-hubzilla-ebc66d7008adcfb104430ae527609df5da74188d.tar.gz volse-hubzilla-ebc66d7008adcfb104430ae527609df5da74188d.tar.bz2 volse-hubzilla-ebc66d7008adcfb104430ae527609df5da74188d.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'view/js/mod_new_channel.js')
-rw-r--r-- | view/js/mod_new_channel.js | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js index c4d5408f2..58573f736 100644 --- a/view/js/mod_new_channel.js +++ b/view/js/mod_new_channel.js @@ -1,19 +1,20 @@ $(document).ready(function() { // $("#id_permissions_role").sSelect(); - $("#newchannel-name").blur(function() { + $("#id_name").blur(function() { $("#name-spinner").spin('small'); - var zreg_name = $("#newchannel-name").val(); + var zreg_name = $("#id_name").val(); $.get("new_channel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) { - $("#newchannel-nickname").val(data); + $("#id_nickname").val(data); zFormError("#newchannel-name-feedback",data.error); $("#name-spinner").spin(false); }); }); - $("#newchannel-nickname").blur(function() { + + $("#id_nickname").blur(function() { $("#nick-spinner").spin('small'); - var zreg_nick = $("#newchannel-nickname").val(); + var zreg_nick = $("#id_nickname").val(); $.get("new_channel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) { - $("#newchannel-nickname").val(data); + $("#id_nickname").val(data); zFormError("#newchannel-nickname-feedback",data.error); $("#nick-spinner").spin(false); }); |