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:
parent
936ef250b4
commit
85d4ac372a
|
@ -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(){
|
||||
|
|
Loading…
Reference in New Issue