aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-21 23:47:44 -0800
committerfriendica <info@friendica.com>2013-12-21 23:47:44 -0800
commitd32bbaf599c77aa415ee403a896b77f091f0e9fc (patch)
tree6f06776f0df41da52ab8242cf08438804952f805 /view/js
parentaa312f72bf48f3ffeb62606541b39e5243ce819e (diff)
downloadvolse-hubzilla-d32bbaf599c77aa415ee403a896b77f091f0e9fc.tar.gz
volse-hubzilla-d32bbaf599c77aa415ee403a896b77f091f0e9fc.tar.bz2
volse-hubzilla-d32bbaf599c77aa415ee403a896b77f091f0e9fc.zip
split private messages into two modules - "message" is just for message lists, "mail" is for reading and writing conversations. This is so we can Comanchify it cleanly.
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_mail.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/js/mod_mail.js b/view/js/mod_mail.js
new file mode 100644
index 000000000..82f60f46f
--- /dev/null
+++ b/view/js/mod_mail.js
@@ -0,0 +1,13 @@
+$(document).ready(function() {
+ var a;
+ a = $("#recip").autocomplete({
+ serviceUrl: baseurl + '/acl',
+ minChars: 2,
+ width: 250,
+ id: 'recip-ac',
+ onSelect: function(value,data) {
+ $("#recip-complete").val(data);
+ },
+ });
+
+});