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 92cc79f20b
commit 50577cb217

View File

@ -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)