mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:18 +01:00
fix redirect to admin index fails via ajax_exec, as there is no menuaction in url
This commit is contained in:
parent
bf41c46cce
commit
96ecf94a40
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user