summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/JQueryAdvancedTown.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-09-09 12:41:21 +0200
committerÉtienne Loks <etienne.loks@proxience.com>2015-09-09 12:41:21 +0200
commit9df085e3522c4a8cd037e1145a667056186f5250 (patch)
treed2c54059a8ec11fecbf03c3171223dc5e97bf3e0 /ishtar_common/templates/blocks/JQueryAdvancedTown.html
parenta441a142a5a312025bcc13f4ad783492007e3c20 (diff)
downloadIshtar-9df085e3522c4a8cd037e1145a667056186f5250.tar.bz2
Ishtar-9df085e3522c4a8cd037e1145a667056186f5250.zip
JQuery: live('click') -> on('click')
Diffstat (limited to 'ishtar_common/templates/blocks/JQueryAdvancedTown.html')
-rw-r--r--ishtar_common/templates/blocks/JQueryAdvancedTown.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/blocks/JQueryAdvancedTown.html b/ishtar_common/templates/blocks/JQueryAdvancedTown.html
index 78d2d7831..5df23a1fd 100644
--- a/ishtar_common/templates/blocks/JQueryAdvancedTown.html
+++ b/ishtar_common/templates/blocks/JQueryAdvancedTown.html
@@ -94,6 +94,6 @@
{% endif %}
});
- $('#id_select_{{field_id}}').live('click', empty_town);
+ $(document).on("click", '#id_select_{{field_id}}', empty_town);
});//--></script>