Meets #2393: No warning when leaving site without saving

pull/999/head
slawa 11 years ago
parent 75081ef62d
commit 1b934cd56d
  1. 1
      app/assets/javascripts/application.js.erb

@ -505,6 +505,7 @@ var WarnLeavingUnsaved = Class.create({
},
unload: function(){
this.observedElements.each(function(item){ item.blur(); });
if(this.changedForms)
return this.message;
},

Loading…
Cancel
Save