mirror of
https://github.com/redmine/redmine.git
synced 2026-01-16 20:43:03 +01:00
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:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user