summaryrefslogtreecommitdiff
path: root/archaeological_files_pdl
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
commit475aec2f4447cdfe695be9cdfca37303500ae0a1 (patch)
treed2c54059a8ec11fecbf03c3171223dc5e97bf3e0 /archaeological_files_pdl
parent7f3dbe476dba46b87f771ee35a25fbf56fe71d34 (diff)
downloadIshtar-475aec2f4447cdfe695be9cdfca37303500ae0a1.tar.bz2
Ishtar-475aec2f4447cdfe695be9cdfca37303500ae0a1.zip
JQuery: live('click') -> on('click')
Diffstat (limited to 'archaeological_files_pdl')
-rw-r--r--archaeological_files_pdl/templates/ishtar/blocks/JQueryPersonOrga.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_files_pdl/templates/ishtar/blocks/JQueryPersonOrga.js b/archaeological_files_pdl/templates/ishtar/blocks/JQueryPersonOrga.js
index c151a5e4d..be1faabfe 100644
--- a/archaeological_files_pdl/templates/ishtar/blocks/JQueryPersonOrga.js
+++ b/archaeological_files_pdl/templates/ishtar/blocks/JQueryPersonOrga.js
@@ -55,7 +55,7 @@ $(function() {
$( "#div-{{field_id}}" ).html( data );
});
- $('#id_select_{{field_id}}').live('click', function(){
+ $(document).on("click", '#id_select_{{field_id}}', function(){
$('#id_{{field_id}}').val(null);
$('#id_select_{{field_id}}').val(null);
$.get( {{edit_source}}, function( data ) {