aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_poke.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-07 14:39:07 -0800
committerfriendica <info@friendica.com>2015-01-07 14:39:07 -0800
commit087d6744fcd0c77cf3415b4ce6eaf50cdb63b4ef (patch)
treef731ec2ef4b1977306e18c5dc0491a84f42e423f /view/js/mod_poke.js
parentce953e2f41c2bf8abdda2584dd84c2bd0175f609 (diff)
parent8771dee9cf90b9c8f76c1856ea7e5107aab5840e (diff)
downloadvolse-hubzilla-087d6744fcd0c77cf3415b4ce6eaf50cdb63b4ef.tar.gz
volse-hubzilla-087d6744fcd0c77cf3415b4ce6eaf50cdb63b4ef.tar.bz2
volse-hubzilla-087d6744fcd0c77cf3415b4ce6eaf50cdb63b4ef.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/js/mod_poke.js')
-rw-r--r--view/js/mod_poke.js13
1 files changed, 2 insertions, 11 deletions
diff --git a/view/js/mod_poke.js b/view/js/mod_poke.js
index 78972888f..58e50588f 100644
--- a/view/js/mod_poke.js
+++ b/view/js/mod_poke.js
@@ -1,14 +1,5 @@
$(document).ready(function() {
- var a;
- a = $("#poke-recip").autocomplete({
- serviceUrl: baseurl + '/acl',
- minChars: 2,
- width: 250,
- id: 'poke-recip-ac',
- onSelect: function(value,data) {
- $("#poke-recip-complete").val(data);
- }
+ $("#poke-recip").contact_autocomplete(baseurl + '/acl', 'a', false, function(data) {
+ $("#poke-recip-complete").val(data.id);
});
- a.setOptions({ params: { type: 'a' }});
-
});