Show More
@@ -301,9 +301,8 define(function (require) { | |||
|
301 | 301 | return "Unsaved changes will be lost."; |
|
302 | 302 | } |
|
303 | 303 | } |
|
304 | // Null is the *only* return value that will make the browser not | |
|
305 | // pop up the "don't leave" dialog. | |
|
306 | return null; | |
|
304 | // IE treats null as a string. Instead just return which will avoid the dialog. | |
|
305 | return; | |
|
307 | 306 | }; |
|
308 | 307 | }; |
|
309 | 308 |
General Comments 0
You need to be logged in to leave comments.
Login now