in app/core/router.js [32:50]
navigate: function (fragment, options) {
let continueNav = true;
const msg = _.find(_.map(beforeUnloads, function (fn) { return fn(); }), function (beforeReturn) {
if (beforeReturn) { return true; }
});
if (msg) {
continueNav = window.confirm(msg);
}
if (options && options.redirect) {
return window.location = fragment;
}
if (continueNav) {
Backbone.Router.prototype.navigate(fragment, options);
this.updateWindowTitle(fragment);
}
},