ACP allow ctrl-click to open new in new tab when settings are unsaved

v1.18.x
psychobunny 8 years ago
parent 292c04a613
commit 179b11b7d2

@ -395,6 +395,10 @@ $(document).ready(function () {
}
if (app.flags && app.flags.hasOwnProperty('_unsaved') && app.flags._unsaved === true) {
if (e.ctrlKey) {
return;
}
translator.translate('[[global:unsaved-changes]]', function (text) {
bootbox.confirm(text, function (navigate) {
if (navigate) {

Loading…
Cancel
Save