summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/JQueryAutocomplete.js
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-26 12:40:05 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-26 12:40:05 +0200
commitc0c6cb48c79c752daf8064f16faaa0bcc011f901 (patch)
tree5f30ad08f08269f54694fe830194ab14562db6b3 /ishtar_common/templates/blocks/JQueryAutocomplete.js
parent9a35d4413458943022a7383f7aae818986a814b5 (diff)
downloadIshtar-c0c6cb48c79c752daf8064f16faaa0bcc011f901.tar.bz2
Ishtar-c0c6cb48c79c752daf8064f16faaa0bcc011f901.zip
Autocomplete widget: larger and full content on hover (refs #3067)
Diffstat (limited to 'ishtar_common/templates/blocks/JQueryAutocomplete.js')
-rw-r--r--ishtar_common/templates/blocks/JQueryAutocomplete.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/templates/blocks/JQueryAutocomplete.js b/ishtar_common/templates/blocks/JQueryAutocomplete.js
index 16ffef3a0..53a5e18ae 100644
--- a/ishtar_common/templates/blocks/JQueryAutocomplete.js
+++ b/ishtar_common/templates/blocks/JQueryAutocomplete.js
@@ -37,4 +37,10 @@ $(function() {
});
$('#{{item_id}}').change();
{% endfor %}{% endif %}
+
+ $('#id_{{field_id}}').change(function(){
+ $("#id_select_{{field_id}}").attr('title', $('#id_select_{{field_id}}').val());
+ });
+
+ $('#id_{{field_id}}').change();
});