mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:49:06 +01:00
* All applications/ Tutorials: Fix discarding tutorials prompt not working if the configuration is set to sidebox
This commit is contained in:
parent
51a4da3204
commit
10e2554100
@ -765,7 +765,7 @@ app.classes.home = AppJS.extend(
|
||||
|
||||
/**
|
||||
* Function calls on discard checkbox and will set
|
||||
* the egw_tutorial_autoload preference
|
||||
* the egw_tutorial_noautoload preference
|
||||
*
|
||||
* @param {type} egw
|
||||
* @param {type} widget
|
||||
@ -774,7 +774,7 @@ app.classes.home = AppJS.extend(
|
||||
{
|
||||
if (widget)
|
||||
{
|
||||
this.egw.set_preference('common', 'egw_tutorial_autoload', widget.get_value());
|
||||
this.egw.set_preference('common', 'egw_tutorial_noautoload', widget.get_value());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -326,7 +326,7 @@
|
||||
if (window.framework === window.top.framework && typeof et2_dialog != 'undefined' &&
|
||||
!egw.preference('egw_tutorial_noautoload', 'common') &&
|
||||
!parseInt(document.getElementById('egw_script_id').getAttribute('data-framework-reload')) &&
|
||||
!egw.config('egw_tutorial_disable', 'phpgwapi') || egw.config('egw_tutorial_disable', 'phpgwapi') == 'sidebox')
|
||||
(!egw.config('egw_tutorial_disable', 'phpgwapi') || egw.config('egw_tutorial_disable', 'phpgwapi') == 'sidebox'))
|
||||
{
|
||||
// we need to wait until common translations are loaded
|
||||
egw.langRequireApp(window, 'common', function()
|
||||
|
Loading…
Reference in New Issue
Block a user