diff --git a/mayan/apps/appearance/static/appearance/js/mayan_app.js b/mayan/apps/appearance/static/appearance/js/mayan_app.js index 2238e5fec8..6a1636de50 100644 --- a/mayan/apps/appearance/static/appearance/js/mayan_app.js +++ b/mayan/apps/appearance/static/appearance/js/mayan_app.js @@ -157,6 +157,7 @@ App.prototype.setupAutoSubmit = function () { App.prototype.setupNewWindowAnchor = function () { $('a.new_window').click(function (event) { + event.preventDefault(); var newWindow = window.open($(this).attr('href'), '_blank'); newWindow.focus(); });