aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-11-14 18:03:16 +0100
committermarijus <mario@localhost.localdomain>2013-11-14 18:03:16 +0100
commit3311fe481352e30206c5d9c593f158814be9ca0b (patch)
treeb19cb9b3cd42bd0bfb521e95e2c4cb96f7519acb /view/js
parentee629534d5245443152797bae81768680b5dda85 (diff)
downloadvolse-hubzilla-3311fe481352e30206c5d9c593f158814be9ca0b.tar.gz
volse-hubzilla-3311fe481352e30206c5d9c593f158814be9ca0b.tar.bz2
volse-hubzilla-3311fe481352e30206c5d9c593f158814be9ca0b.zip
make autocomplete better themable by adding an id
Diffstat (limited to 'view/js')
-rw-r--r--view/js/mod_connections.js3
-rw-r--r--view/js/mod_message.js5
-rw-r--r--view/js/mod_network.js1
-rw-r--r--view/js/mod_poke.js3
-rw-r--r--view/js/mod_sources.js3
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);
}