mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-09 07:28:43 +01:00
fixed error, if no favorites are defined
This commit is contained in:
parent
54c930b555
commit
96336ea521
@ -324,7 +324,7 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],
|
|||||||
_init_sidebox: function()
|
_init_sidebox: function()
|
||||||
{
|
{
|
||||||
// Sometimes the sidebox is not loaded when the template is created (jdots)
|
// Sometimes the sidebox is not loaded when the template is created (jdots)
|
||||||
if(!this.sidebox_target || this.sidebox_target.length == 0)
|
if(this.options && (!this.sidebox_target || this.sidebox_target.length == 0))
|
||||||
{
|
{
|
||||||
this.sidebox_target = $j("#"+this.options.sidebox_target);
|
this.sidebox_target = $j("#"+this.options.sidebox_target);
|
||||||
if(this.sidebox_target.length == 0 && egw_getFramework() != null)
|
if(this.sidebox_target.length == 0 && egw_getFramework() != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user