diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-08-05 18:12:34 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-08-05 18:12:34 +0000 |
commit | cb90cdcc150ca607f38ba1fca4428d08b6fc0791 (patch) | |
tree | 51b560debd6c0ed06dd8530f9a3cbbd5a662e02d /public/javascripts | |
parent | fbffe332e2a33b9d419d02177b7f8779821a65e5 (diff) | |
download | redmine-cb90cdcc150ca607f38ba1fca4428d08b6fc0791.tar.gz redmine-cb90cdcc150ca607f38ba1fca4428d08b6fc0791.zip |
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
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/application.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 46a00d09a..61cca4fa4 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -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(){ |