Some fixes for tutorials:

- Fix tutorials not shown in idots
- Make sure def_tutorials css is loaded for all templates
- Invalidate the tutorials.xet for cache buster
This commit is contained in:
Hadi Nategh 2015-10-28 14:03:25 +00:00
parent 5761c2c4cc
commit 93fe78b8ba
2 changed files with 7 additions and 3 deletions

View File

@ -115,6 +115,9 @@ var AppJS = Class.extend(
this._init_sidebox(sidebox); this._init_sidebox(sidebox);
} }
} }
// Initialize egw tutorial sidebox
this.egwTutorial_init();
}, },
/** /**
@ -149,8 +152,7 @@ var AppJS = Class.extend(
// Highlights the favorite based on initial list state // Highlights the favorite based on initial list state
this.highlight_favorite(); this.highlight_favorite();
// Initialize egw tutorial sidebox
this.egwTutorial_init();
}, },
/** /**
@ -1015,7 +1017,7 @@ var AppJS = Class.extend(
// et2 object // et2 object
var etemplate = new etemplate2 (div, false); var etemplate = new etemplate2 (div, false);
var template = egw.webserverUrl+'/etemplate/templates/default/egw_tutorial.xet'; var template = egw.webserverUrl+'/etemplate/templates/default/egw_tutorial.xet?1';
this.egwTutorialGetData().then(function(_data){ this.egwTutorialGetData().then(function(_data){
var lang = egw.preference('lang'); var lang = egw.preference('lang');

View File

@ -3,6 +3,8 @@
allowed attributes: font-family,font-size,color,font-weight allowed attributes: font-family,font-size,color,font-weight
*/ */
/*@import url("../../default/def_tutorials.css");*/
body body
{ {
overflow-x: hidden; overflow-x: hidden;