Ignore:
Timestamp:
03/02/07 17:01:13 (5 years ago)
Author:
anp
Message:

possibilité d'annuler la création d'un atelier si une migration est détectée

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Cms/chrome/content/scenaricms/wspmgr/wspconfig/wspModeles.overlay.xul

    r8833 r8850  
    5656                        wspChoiceModelMgr._LastError   = null; 
    5757                        wspChoiceModelMgr._WspReg = Components.classes["@scenari.com/wspregistryservice;1"].getService(Components.interfaces.scIWspRegistryService); 
     58                        wspChoiceModelMgr._LastState = "noWspType";//[wspType|noWspType] 
    5859                 
    5960                        wspChoiceModelMgr._MainBox = document.getElementById("ovWspModeles"); 
     
    8182                         *  Actualise la zone de paramétrage 
    8283                         **/ 
    83                         var tmpLastState = "noWspType";//[wspType|noWspType] 
     84                         
    8485                        wspChoiceModelMgr.refresh = function(){ 
    8586                                function fIsWorking(pState){ 
     
    104105                                                                        vWspCMMgr._WspConfig.choiceWsptype(vWspTypeDom); 
    105106                                                                        vWspCMMgr._BaseWspType = vWspTypeDom; 
    106                                                                         tmpLastState="wspType"; 
     107                                                                        vWspCMMgr._LastState="wspType"; 
    107108                                                                        fIsWorking(false); 
    108109                                                                }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; 
    111113                                                                        fIsWorking(false); 
    112114                                                                }else if(vStatus==null){ 
     
    211213                        **/ 
    212214                        wspChoiceModelMgr.selectTypeModel = function(pType){ 
     215                                this._LastState = "noWspType"; 
    213216                                try{ 
    214217                                        function xDesableAllTypeDefModel(){ 
Note: See TracChangeset for help on using the changeset viewer.