diff options
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 |
commit | c0c6cb48c79c752daf8064f16faaa0bcc011f901 (patch) | |
tree | 5f30ad08f08269f54694fe830194ab14562db6b3 | |
parent | 9a35d4413458943022a7383f7aae818986a814b5 (diff) | |
download | Ishtar-c0c6cb48c79c752daf8064f16faaa0bcc011f901.tar.bz2 Ishtar-c0c6cb48c79c752daf8064f16faaa0bcc011f901.zip |
Autocomplete widget: larger and full content on hover (refs #3067)
-rw-r--r-- | ishtar_common/static/media/style.css | 2 | ||||
-rw-r--r-- | ishtar_common/templates/blocks/JQueryAutocomplete.js | 6 | ||||
-rw-r--r-- | version.py | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css index e474bea08..42381afa9 100644 --- a/ishtar_common/static/media/style.css +++ b/ishtar_common/static/media/style.css @@ -710,7 +710,7 @@ ul.form .help_text{ } .autocomplete{ - width:300px; + width:350px; } .delete td{ 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(); }); diff --git a/version.py b/version.py index ed3f645d2..0001d3aa0 100644 --- a/version.py +++ b/version.py @@ -1,4 +1,4 @@ -VERSION = (0, 97, 2, 1) +VERSION = (0, 97, 2, 2) def get_version(): |