mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 03:19:56 +01:00
* Calendar: fix not working storing of events
initalize video tutorial sidebox NOT for popups , as calendar edit app.js has this.et2 set to tutorial et2 object
This commit is contained in:
parent
f98c37ed28
commit
81de77e02b
@ -363,14 +363,17 @@ var AppJS = Class.extend(
|
|||||||
*/
|
*/
|
||||||
_init_sidebox: function(sidebox)
|
_init_sidebox: function(sidebox)
|
||||||
{
|
{
|
||||||
// Initialize egw tutorial sidebox
|
// Initialize egw tutorial sidebox, but only for non-popups, as calendar edit app.js has this.et2 set to tutorial et2 object
|
||||||
var egw_fw = egw_getFramework();
|
if (!this.egw.is_popup())
|
||||||
var tutorial = $j('#egw_tutorial_'+this.appname+'_sidebox', egw_fw ? egw_fw.sidemenuDiv : document);
|
|
||||||
// _init_sidebox gets currently called multiple times, which needs to be fixed
|
|
||||||
if (tutorial.length && !this.tutorial_initialised)
|
|
||||||
{
|
{
|
||||||
this.egwTutorial_init(tutorial[0]);
|
var egw_fw = egw_getFramework();
|
||||||
this.tutorial_initialised = true;
|
var tutorial = $j('#egw_tutorial_'+this.appname+'_sidebox', egw_fw ? egw_fw.sidemenuDiv : document);
|
||||||
|
// _init_sidebox gets currently called multiple times, which needs to be fixed
|
||||||
|
if (tutorial.length && !this.tutorial_initialised)
|
||||||
|
{
|
||||||
|
this.egwTutorial_init(tutorial[0]);
|
||||||
|
this.tutorial_initialised = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(sidebox.length)
|
if(sidebox.length)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user