mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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.menuaction;
|
||||
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(q.owner)
|
||||
|
Loading…
Reference in New Issue
Block a user