summaryrefslogtreecommitdiff
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
commit40ec34090f79f1a2f37f0324dd53d9fd68bc8d35 (patch)
tree5f30ad08f08269f54694fe830194ab14562db6b3
parentcbd4ba21becfd9fdb53554ede2731a903d34595d (diff)
downloadIshtar-40ec34090f79f1a2f37f0324dd53d9fd68bc8d35.tar.bz2
Ishtar-40ec34090f79f1a2f37f0324dd53d9fd68bc8d35.zip
Autocomplete widget: larger and full content on hover (refs #3067)
-rw-r--r--ishtar_common/static/media/style.css2
-rw-r--r--ishtar_common/templates/blocks/JQueryAutocomplete.js6
-rw-r--r--version.py2
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():