From 96ecf94a40fd27f68c83e48e6deeb10ad7e39978 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 30 Jun 2016 11:12:29 +0200 Subject: [PATCH] fix redirect to admin index fails via ajax_exec, as there is no menuaction in url --- admin/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/js/app.js b/admin/js/app.js index 5f94ac2c38..7c68256b6e 100644 --- a/admin/js/app.js +++ b/admin/js/app.js @@ -142,7 +142,7 @@ app.classes.admin = AppJS.extend( if (_url) { // Try to load it without the iframe - ajax = _url.match(/ajax=true/); + ajax = _url.match(/ajax=true/) && _url.match(/menuaction=/); if(ajax) { @@ -300,7 +300,7 @@ app.classes.admin = AppJS.extend( /** * Callback to load an etemplate - * + * * @param {Object[]} _data */ _ajax_load_callback: function(_data)