Permalink
Browse files

Change live call for observe_field elements to use on, not live

  • Loading branch information...
radar committed Jun 5, 2012
1 parent 7737a82 commit 273987d98b03a98e157903cc7a607d830f41251c
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/assets/javascripts/admin/admin.js.erb
@@ -189,7 +189,7 @@ $('a.remove_fields').live('click', function() {
return false;
});
$(".observe_field").live('change', function() {
$(".observe_field").on('change', function() {
target = $(this).attr("data-update");
ajax_indicator = $(this).attr("data-ajax-indicator") || '#busy_indicator';
$(target).hide();

0 comments on commit 273987d

Please sign in to comment.