summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
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(){