- Timestamp:
- 03/02/07 17:01:13 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Cms/chrome/content/scenaricms/wspmgr/wspconfig/wspModeles.overlay.xul
r8833 r8850 56 56 wspChoiceModelMgr._LastError = null; 57 57 wspChoiceModelMgr._WspReg = Components.classes["@scenari.com/wspregistryservice;1"].getService(Components.interfaces.scIWspRegistryService); 58 wspChoiceModelMgr._LastState = "noWspType";//[wspType|noWspType] 58 59 59 60 wspChoiceModelMgr._MainBox = document.getElementById("ovWspModeles"); … … 81 82 * Actualise la zone de paramétrage 82 83 **/ 83 var tmpLastState = "noWspType";//[wspType|noWspType]84 84 85 wspChoiceModelMgr.refresh = function(){ 85 86 function fIsWorking(pState){ … … 104 105 vWspCMMgr._WspConfig.choiceWsptype(vWspTypeDom); 105 106 vWspCMMgr._BaseWspType = vWspTypeDom; 106 tmpLastState="wspType";107 vWspCMMgr._LastState="wspType"; 107 108 fIsWorking(false); 108 109 }else if(vStatus=='noWsp'){ 109 if(tmpLastState!="noWspType") vWspCMMgr._WspConfig.choiceWsptype();//refresh SSi état précédent différent 110 tmpLastState="noWspType"; 110 if(vWspCMMgr._LastState!="noWspType") vWspCMMgr._WspConfig.choiceWsptype();//refresh SSi état précédent différent 111 vWspCMMgr._LastState="noWspType"; 112 vWspCMMgr._BaseWspType=null; 111 113 fIsWorking(false); 112 114 }else if(vStatus==null){ … … 211 213 **/ 212 214 wspChoiceModelMgr.selectTypeModel = function(pType){ 215 this._LastState = "noWspType"; 213 216 try{ 214 217 function xDesableAllTypeDefModel(){
Note: See TracChangeset
for help on using the changeset viewer.