Merge pull request #8176 from gilbertw/master

Fixes bug that would show "null" as the reason in the don't leave dialog
pull/37/head
Min RK 11 years ago
commit 2f2a0fcbcb

@ -301,9 +301,8 @@ define(function (require) {
return "Unsaved changes will be lost.";
}
}
// Null is the *only* return value that will make the browser not
// pop up the "don't leave" dialog.
return null;
// IE treats null as a string. Instead just return which will avoid the dialog.
return;
};
};

Loading…
Cancel
Save