]> source.dussan.org Git - redmine.git/commitdiff
Merged r5969 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 2 Jul 2011 17:25:51 +0000 (17:25 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 2 Jul 2011 17:25:51 +0000 (17:25 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6157 e93f8b46-1217-0410-a6f0-8f06a7374b81

public/javascripts/application.js

index 7e307b61fe380ccb26cc63b092f46e68ba3adb88..fdaadc90646d9547145147f7478b18280a3cdad8 100644 (file)
@@ -309,6 +309,7 @@ var WarnLeavingUnsaved = Class.create({
        },
        
        unload: function(){
+               this.observedElements.each(function(el) {el.blur();})
                if(this.changedForms)
       return this.message;
        },