Warn me when leaving a page with unsaved text doesn't work when editing an update note (#14615).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12084 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-08-05 18:12:34 +00:00
parent fbffe332e2
commit cb90cdcc15
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ function warnLeavingUnsaved(message) {
$('form').submit(function(){
$('textarea').removeData('changed');
});
$('textarea').change(function(){
$('textarea').live('change', function(){
$(this).data('changed', 'changed');
});
window.onbeforeunload = function(){