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
This commit is contained in:
Jean-Philippe Lang 2013-08-05 18:32:18 +00:00
parent 936ef250b4
commit 85d4ac372a
1 changed files with 1 additions and 1 deletions

View File

@ -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(){