mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
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