Project

General

Profile

« Previous | Next » 

Revision 4217

Added by Samuel MONSARRAT 4 months ago

Debug homePage

View differences:

branches/3.8-sc50/model/sources/aurora/web/activity/widg/emeraudeMgr.doss/emeraudeMgr.js
5 5
	/** init function - must be called at the end of page body */
6 6
	init : function(){
7 7
		try {
8
			tplMgr.fStrings[0] = "Fermer";
9
			tplMgr.fStrings[1] = "Cacher le menu de l'activité";
10
			tplMgr.fStrings[2] = "Menu";
11
			tplMgr.fStrings[3] = "Afficher le menu de l'activité";
12
			if (scPaLib.checkNode(".module.emeraude", document.body)) tplMgr.fZenMode = 3;
13
			else tplMgr.fZenMode = 2;
8
			if ("tplMgr" in window){
9
				tplMgr.fStrings[0] = "Fermer";
10
				tplMgr.fStrings[1] = "Cacher le menu de l'activité";
11
				tplMgr.fStrings[2] = "Menu";
12
				tplMgr.fStrings[3] = "Afficher le menu de l'activité";
13
				if (scPaLib.checkNode(".module.emeraude", document.body)) tplMgr.fZenMode = 3;
14
				else tplMgr.fZenMode = 2;
15
			}
14 16
		} catch(e) {
15 17
			scCoLib.log("emeraudeMgr init failed: "+e);
16 18
		}

Also available in: Unified diff