From 85d4ac372a1245fb36b347837427fde298e403a5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 5 Aug 2013 18:32:18 +0000 Subject: [PATCH] Submit handler should be live as well (#14615). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12086 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(){