Mercurial > hg > soundsoftware-site
comparison public/javascripts/.svn/text-base/application.js.svn-base @ 507:0c939c159af4 redmine-1.2
Update to Redmine 1.2.1 on 1.2-stable branch (Redmine SVN rev 6270)
author | Chris Cannam |
---|---|
date | Thu, 14 Jul 2011 10:32:19 +0100 |
parents | cbce1fd3b1b7 |
children |
comparison
equal
deleted
inserted
replaced
441:cbce1fd3b1b7 | 507:0c939c159af4 |
---|---|
307 | 307 |
308 window.onbeforeunload = this.unload.bind(this); | 308 window.onbeforeunload = this.unload.bind(this); |
309 }, | 309 }, |
310 | 310 |
311 unload: function(){ | 311 unload: function(){ |
312 this.observedElements.each(function(el) {el.blur();}) | |
312 if(this.changedForms) | 313 if(this.changedForms) |
313 return this.message; | 314 return this.message; |
314 }, | 315 }, |
315 | 316 |
316 setChanged: function(){ | 317 setChanged: function(){ |