summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js1
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;
},