aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-10-26 05:28:17 -0700
committerfabrixxm <fabrix.xm@gmail.com>2011-10-26 05:28:17 -0700
commit6a8b96709e13b04a0657c25b4538c160e2118131 (patch)
treee33f08ec7912966a52170c55b6180eb6210abbc0 /js/main.js
parent6d6136cdb5a2149037c3cf315b3fa81a72bd7d55 (diff)
parent7060debeca0d1c36871611a00c150850042b69c1 (diff)
downloadvolse-hubzilla-6a8b96709e13b04a0657c25b4538c160e2118131.tar.gz
volse-hubzilla-6a8b96709e13b04a0657c25b4538c160e2118131.tar.bz2
volse-hubzilla-6a8b96709e13b04a0657c25b4538c160e2118131.zip
Merge pull request #37 from fabrixxm/master
autocomplete contacts metions
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/js/main.js b/js/main.js
index 03ba11ed8..15c5b5d1f 100644
--- a/js/main.js
+++ b/js/main.js
@@ -78,8 +78,6 @@
menu.toggle();
return false;
});
-
-
/* notifications template */
var notifications_tpl= unescape($("#nav-notifications-template[rel=template]").html());
@@ -163,7 +161,9 @@
}
}
- });
+ });
+
+
});
function NavUpdate() {
@@ -245,6 +245,8 @@
commentBusy = false;
$('body').css('cursor', 'auto');
}
+ /* autocomplete @nicknames */
+ $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
});
}
@@ -445,6 +447,7 @@ function setupFieldRichtext(){
});
}
+
/**
* sprintf in javascript
* "{0} and {1}".format('zero','uno');