aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-09-25 17:57:20 -0700
committerfriendica <info@friendica.com>2012-09-25 17:57:20 -0700
commitfbafd92f7f7b96b215b98f30de9a1ccbdb3479be (patch)
treef1f6739d513ac297fbd14162b8377cc4cf84c784 /view/js
parentdd5725c2725b742473ce285dce8573da37fb8053 (diff)
downloadvolse-hubzilla-fbafd92f7f7b96b215b98f30de9a1ccbdb3479be.tar.gz
volse-hubzilla-fbafd92f7f7b96b215b98f30de9a1ccbdb3479be.tar.bz2
volse-hubzilla-fbafd92f7f7b96b215b98f30de9a1ccbdb3479be.zip
moving a lot of structure around. 'entity' is now 'channel'
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_zchannel.js17
-rw-r--r--view/js/mod_zentity.js17
2 files changed, 17 insertions, 17 deletions
diff --git a/view/js/mod_zchannel.js b/view/js/mod_zchannel.js
new file mode 100644
index 000000000..9f85295d7
--- /dev/null
+++ b/view/js/mod_zchannel.js
@@ -0,0 +1,17 @@
+ $(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);
+ });
+ });
+
+ });
diff --git a/view/js/mod_zentity.js b/view/js/mod_zentity.js
deleted file mode 100644
index ad78db7d4..000000000
--- a/view/js/mod_zentity.js
+++ /dev/null
@@ -1,17 +0,0 @@
- $(document).ready(function() {
- $("#zentity-name").blur(function() {
- var zreg_name = $("#zentity-name").val();
- $.get("zentity/autofill.json?f=&name=" + encodeURIComponent(zreg_name),function(data) {
- $("#zentity-nickname").val(data);
- zFormError("#zentity-name-feedback",data.error);
- });
- });
- $("#zentity-nickname").blur(function() {
- var zreg_nick = $("#zentity-nickname").val();
- $.get("zentity/checkaddr.json?f=&nick=" + encodeURIComponent(zreg_nick),function(data) {
- $("#zentity-nickname").val(data);
- zFormError("#zentity-nickname-feedback",data.error);
- });
- });
-
- });