summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/JQueryPersonOrganization.js
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 /ishtar_common/templates/blocks/JQueryPersonOrganization.js
parent7f3dbe476dba46b87f771ee35a25fbf56fe71d34 (diff)
downloadIshtar-475aec2f4447cdfe695be9cdfca37303500ae0a1.tar.bz2
Ishtar-475aec2f4447cdfe695be9cdfca37303500ae0a1.zip
JQuery: live('click') -> on('click')
Diffstat (limited to 'ishtar_common/templates/blocks/JQueryPersonOrganization.js')
-rw-r--r--ishtar_common/templates/blocks/JQueryPersonOrganization.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/blocks/JQueryPersonOrganization.js b/ishtar_common/templates/blocks/JQueryPersonOrganization.js
index b13a2c28e..8a5937f8c 100644
--- a/ishtar_common/templates/blocks/JQueryPersonOrganization.js
+++ b/ishtar_common/templates/blocks/JQueryPersonOrganization.js
@@ -22,7 +22,7 @@ $.get( {{edit_source}}{% if selected %}+'{{selected}}'{% endif %}, function( dat
$( "#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 ) {