mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +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
|
// the popup can be discarded for the next time show if user
|
||||||
// select "Never" or can select "Later" and the introduction
|
// select "Never" or can select "Later" and the introduction
|
||||||
// dialog will show upon the next session refresh
|
// 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 = [
|
var buttons = [
|
||||||
{text:"Show", id:"show", default:"true"},
|
{text:"Show", id:"show", default:"true"},
|
||||||
{text:"Later", id:"later"},
|
{text:"Later", id:"later"},
|
||||||
|
Loading…
Reference in New Issue
Block a user