diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 61cca4fa4..3a1b9cb79 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -535,7 +535,7 @@ function initMyPageSortable(list, url) { var warnLeavingUnsavedMessage; function warnLeavingUnsaved(message) { warnLeavingUnsavedMessage = message; - $('form').submit(function(){ + $('form').live('submit', function(){ $('textarea').removeData('changed'); }); $('textarea').live('change', function(){