diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-05-30 21:19:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-05-30 21:19:25 +0000 |
commit | 206a36704f37800386cadc75443c3f03af3486a5 (patch) | |
tree | 75e6e1eb2c16258a4ca1a34f2ae393efbe2443a7 /public | |
parent | d001fcd18e017609afa4c55c8b7395b75eeffce9 (diff) | |
download | redmine-206a36704f37800386cadc75443c3f03af3486a5.tar.gz redmine-206a36704f37800386cadc75443c3f03af3486a5.zip |
Fixed: No warning if unsaved text has not lost focus (#8468).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5969 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/application.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 7e307b61f..fdaadc906 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -309,6 +309,7 @@ var WarnLeavingUnsaved = Class.create({ }, unload: function(){ + this.observedElements.each(function(el) {el.blur();}) if(this.changedForms) return this.message; }, |