forked from extern/egroupware
fix redirect to admin index fails via ajax_exec, as there is no menuaction in url
This commit is contained in:
parent
92cc79f20b
commit
50577cb217
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user