aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-29 21:59:49 -0700
committerfriendica <info@friendica.com>2012-10-29 21:59:49 -0700
commitdca20f42278e9d837d5cbfd130fc04ecaf09947d (patch)
treea7c0ce623821ca64b422ee734be27d3ecb15b119 /view/js
parentf608373d084eea8d34adc48ef50c7392903b51be (diff)
downloadvolse-hubzilla-dca20f42278e9d837d5cbfd130fc04ecaf09947d.tar.gz
volse-hubzilla-dca20f42278e9d837d5cbfd130fc04ecaf09947d.tar.bz2
volse-hubzilla-dca20f42278e9d837d5cbfd130fc04ecaf09947d.zip
zchannel rename to new_channel
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_new_channel.js17
-rw-r--r--view/js/mod_zchannel.js17
2 files changed, 17 insertions, 17 deletions
diff --git a/view/js/mod_new_channel.js b/view/js/mod_new_channel.js
new file mode 100644
index 000000000..02b6f857e
--- /dev/null
+++ b/view/js/mod_new_channel.js
@@ -0,0 +1,17 @@
+ $(document).ready(function() {
+ $("#newchannel-name").blur(function() {
+ var zreg_name = $("#newchannel-name").val();
+ $.get("newchannel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
+ $("#newchannel-nickname").val(data);
+ zFormError("#newchannel-name-feedback",data.error);
+ });
+ });
+ $("#newchannel-nickname").blur(function() {
+ var zreg_nick = $("#newchannel-nickname").val();
+ $.get("newchannel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
+ $("#newchannel-nickname").val(data);
+ zFormError("#newchannel-nickname-feedback",data.error);
+ });
+ });
+
+ });
diff --git a/view/js/mod_zchannel.js b/view/js/mod_zchannel.js
deleted file mode 100644
index 9f85295d7..000000000
--- a/view/js/mod_zchannel.js
+++ /dev/null
@@ -1,17 +0,0 @@
- $(document).ready(function() {
- $("#zchannel-name").blur(function() {
- var zreg_name = $("#zchannel-name").val();
- $.get("zchannel/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
- $("#zchannel-nickname").val(data);
- zFormError("#zchannel-name-feedback",data.error);
- });
- });
- $("#zchannel-nickname").blur(function() {
- var zreg_nick = $("#zchannel-nickname").val();
- $.get("zchannel/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
- $("#zchannel-nickname").val(data);
- zFormError("#zchannel-nickname-feedback",data.error);
- });
- });
-
- });