Changeset 11147


Ignore:
Timestamp:
06/05/08 13:40:25 (4 years ago)
Author:
anp
Message:

fenetre de gestion des ateliers : supp de la ligne "Ajouter une connexion"

Location:
trunk/Xul_Cms/chrome/content/scenaricms/wspmgr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Cms/chrome/content/scenaricms/wspmgr/wspmgr.js

    r10653 r11147  
    142142                        } 
    143143                } 
    144                 this.xDrawAddRepos(vTreeChildren); 
     144                if(wspUt._CanCreateServerDistant) this.xDrawAddRepos(vTreeChildren); 
    145145                //### 2 - on affecte des comportements specifiques de chargement à l'ouverture d'une branche de l'arbre 
    146146                var vNewView = new WrappedTreeView(vViewIni); 
  • trunk/Xul_Cms/chrome/content/scenaricms/wspmgr/wsput.js

    r10636 r11147  
    4848wspUt._LocalServerUrl = wspUt._Prefs.getCharPref("scenari.urlServerLocal").length>0 ? wspUt._Prefs.getCharPref("scenari.urlServerLocal") : null; 
    4949wspUt._LocalServerTitle = "Ateliers locaux"; 
    50 // on déermine si la création du serveur local est possible (mode SCchain) 
     50// on détermine si la création du serveur local est possible (mode SCchain) 
    5151wspUt._CanCreateServerLocal = false; 
     52wspUt._CanCreateServerDistant = true; 
     53try{wspUt._CanCreateServerDistant = wspUt._Prefs.getBoolPref("scenari.canCreateServerDistant")}catch(e){}; 
    5254var vNameRepServer = (wspUt._Prefs.getPrefType("scenari.reposCmsServerName")==32 && wspUt._Prefs.getCharPref("scenari.reposCmsServerName").length>0) ? wspUt._Prefs.getCharPref("scenari.reposCmsServerName") : null; 
    5355if(vNameRepServer){ 
Note: See TracChangeset for help on using the changeset viewer.