diff options
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/static/media/style.css | 2 | ||||
-rw-r--r-- | ishtar_common/templates/blocks/JQueryAutocomplete.js | 6 |
2 files changed, 7 insertions, 1 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(); }); |