Skip to content
Browse files

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

  • Loading branch information...
1 parent eea86ab commit c3cdf1c6f689a71753e767cf7440aeafb951e16a @radar radar committed Jun 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/assets/javascripts/admin/admin.js.erb
View
2 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 c3cdf1c

Please sign in to comment.
Something went wrong with that request. Please try again.