Project

General

Profile

root / trunk / model / sources / academic / gen / _web / widg / tplDynElts / courseMemorizer.uiwidget @ 1445

1
<?xml version="1.0" encoding="UTF-8"?><sm:openUiWidget xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" code="courseRetriever">
2
	<sm:fillTemplateBuffers>
3
		<sm:standardLibrary codeLib="PaLib"/>
4
	</sm:fillTemplateBuffers>
5
	<sm:content>
6
		<script xmlns="http://www.w3.org/1999/xhtml" type="text/javascript">var courseMemorizer = {
7
 pathToolBtn : "ide:tplLft/des:.toolsBtn",
8
 memorize : function(){
9
 document.cookie = "courseUrl="+escape(document.location.href);
10
 },
11
 onLoad : function() {
12
 var vToolBtn = scPaLib.findNode(this.pathToolBtn);
13
 if(vToolBtn) vToolBtn.onclick=this.memorize;
14
 },
15
 loadSortKey : "ZZ"
16
}
17
scOnLoads[scOnLoads.length] = courseMemorizer;</script>
18
	</sm:content>
19
</sm:openUiWidget>
(3-3/7)