Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change live call for observe_field elements to use on, not live
  • Loading branch information
radar committed Jun 5, 2012
1 parent 7737a82 commit 273987d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/assets/javascripts/admin/admin.js.erb
Expand Up @@ -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();
Expand Down

0 comments on commit 273987d

Please sign in to comment.