fix redirect to admin index fails via ajax_exec, as there is no menuaction in url

This commit is contained in:
Ralf Becker 2016-06-30 11:12:29 +02:00
parent bf41c46cce
commit 96ecf94a40

View File

@ -142,7 +142,7 @@ app.classes.admin = AppJS.extend(
if (_url) if (_url)
{ {
// Try to load it without the iframe // Try to load it without the iframe
ajax = _url.match(/ajax=true/); ajax = _url.match(/ajax=true/) && _url.match(/menuaction=/);
if(ajax) if(ajax)
{ {
@ -300,7 +300,7 @@ app.classes.admin = AppJS.extend(
/** /**
* Callback to load an etemplate * Callback to load an etemplate
* *
* @param {Object[]} _data * @param {Object[]} _data
*/ */
_ajax_load_callback: function(_data) _ajax_load_callback: function(_data)