mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
Better handle reloads from framework to avoid double toolbar and bad display
This commit is contained in:
parent
578ded52b8
commit
1ce17f4656
@ -366,6 +366,15 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
|||||||
delete q.ajax;
|
delete q.ajax;
|
||||||
delete q.menuaction;
|
delete q.menuaction;
|
||||||
if(!view && q.view || q.view != view && view == 'index') view = q.view;
|
if(!view && q.view || q.view != view && view == 'index') view = q.view;
|
||||||
|
|
||||||
|
// No specific view requested, looks like a reload from framework
|
||||||
|
if(this.sidebox_et2 && typeof view === 'undefined')
|
||||||
|
{
|
||||||
|
this._clear_cache();
|
||||||
|
this.setState({state: this.state});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.sidebox_et2 && typeof app.classes.calendar.views[view] == 'undefined' && view != 'index')
|
if (this.sidebox_et2 && typeof app.classes.calendar.views[view] == 'undefined' && view != 'index')
|
||||||
{
|
{
|
||||||
if(q.owner)
|
if(q.owner)
|
||||||
|
Loading…
Reference in New Issue
Block a user