diff options
author | friendica <info@friendica.com> | 2013-11-14 12:09:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-14 12:09:06 -0800 |
commit | e651ca8b07a1dd7083fd565c7b2403484390c3fe (patch) | |
tree | b19cb9b3cd42bd0bfb521e95e2c4cb96f7519acb /view/js | |
parent | ee629534d5245443152797bae81768680b5dda85 (diff) | |
parent | 3311fe481352e30206c5d9c593f158814be9ca0b (diff) | |
download | volse-hubzilla-e651ca8b07a1dd7083fd565c7b2403484390c3fe.tar.gz volse-hubzilla-e651ca8b07a1dd7083fd565c7b2403484390c3fe.tar.bz2 volse-hubzilla-e651ca8b07a1dd7083fd565c7b2403484390c3fe.zip |
Merge pull request #202 from git-marijus/master
make autocomplete better themable by adding an id
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/mod_connections.js | 3 | ||||
-rw-r--r-- | view/js/mod_message.js | 5 | ||||
-rw-r--r-- | view/js/mod_network.js | 1 | ||||
-rw-r--r-- | view/js/mod_poke.js | 3 | ||||
-rw-r--r-- | view/js/mod_sources.js | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js index ed1577792..404010636 100644 --- a/view/js/mod_connections.js +++ b/view/js/mod_connections.js @@ -3,7 +3,8 @@ $(document).ready(function() { a = $("#contacts-search").autocomplete({ serviceUrl: baseurl + '/acl', minChars: 2, - width: 350, + width: 250, + id: 'contact-search-ac', }); a.setOptions({ autoSubmit: true, params: { type: 'a' }}); diff --git a/view/js/mod_message.js b/view/js/mod_message.js index e3318ce6b..82f60f46f 100644 --- a/view/js/mod_message.js +++ b/view/js/mod_message.js @@ -3,10 +3,11 @@ $(document).ready(function() { a = $("#recip").autocomplete({ serviceUrl: baseurl + '/acl', minChars: 2, - width: 350, + width: 250, + id: 'recip-ac', onSelect: function(value,data) { $("#recip-complete").val(data); - } + }, }); }); diff --git a/view/js/mod_network.js b/view/js/mod_network.js index ca910ae52..f63a57653 100644 --- a/view/js/mod_network.js +++ b/view/js/mod_network.js @@ -4,6 +4,7 @@ $(document).ready(function() { serviceUrl: baseurl + '/search_ac', minChars: 2, width: 250, + id: 'search-text-ac', }); }); diff --git a/view/js/mod_poke.js b/view/js/mod_poke.js index fa00ac2d5..edd53bb6a 100644 --- a/view/js/mod_poke.js +++ b/view/js/mod_poke.js @@ -3,7 +3,8 @@ $(document).ready(function() { a = $("#poke-recip").autocomplete({ serviceUrl: baseurl + '/acl', minChars: 2, - width: 350, + width: 250, + id: 'poke-recip-ac'; onSelect: function(value,data) { $("#poke-recip-complete").val(data); } diff --git a/view/js/mod_sources.js b/view/js/mod_sources.js index 140f13843..fda952cae 100644 --- a/view/js/mod_sources.js +++ b/view/js/mod_sources.js @@ -3,7 +3,8 @@ $(document).ready(function() { a = $("#id_name").autocomplete({ serviceUrl: baseurl + '/acl', minChars: 2, - width: 350, + width: 250, + id: 'id-name-ac', onSelect: function(value,data) { $("#id_xchan").val(data); } |