mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
WIP Egroupware tutorial:
- Use framework-reload to determine the first load after login
This commit is contained in:
parent
f652853c7a
commit
c200c1ccc3
@ -177,9 +177,9 @@ var fw_browser = Class.extend({
|
||||
// the popup can be discarded for the next time show if user
|
||||
// select "Never" or can select "Later" and the introduction
|
||||
// dialog will show upon the next session refresh
|
||||
if (!egw.preference('egw_tutorial_noautoload', 'common') && !sessionStorage.getItem('egw_tutorial_visited'))
|
||||
if (!egw.preference('egw_tutorial_noautoload', 'common')
|
||||
&& !parseInt(document.getElementById('egw_script_id').getAttribute('data-framework-reload')))
|
||||
{
|
||||
sessionStorage.setItem('egw_tutorial_visited', true);
|
||||
var buttons = [
|
||||
{text:"Show", id:"show", default:"true"},
|
||||
{text:"Later", id:"later"},
|
||||
|
Loading…
Reference in New Issue
Block a user