- Timestamp:
- 03/05/10 12:43:33 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Wsp/modules/scenariWsp/views/searchView/SearchViewController.jsm
r14892 r15037 54 54 55 55 //Déclaration de l'action pour ouvrir la view. 56 pWindow.extPoints.registerSvcByInst("actionOpenSearchView", 1, new ActionOpenSearchView(this) );56 pWindow.extPoints.registerSvcByInst("actionOpenSearchView", 1, new ActionOpenSearchView(this), true); 57 57 //Ajout dans les menus contextuels relatifs aux uris. 58 58 pWindow.extPoints.addSvcToList("menu:common:uri", "actionOpenSearchView", 1, "actionOpenSearchView"); … … 118 118 ActionOpenSearchView.prototype = new actions.Action("actionOpenSearchView").setGroup("uriActions").setLabel("Rechercher"); 119 119 ActionOpenSearchView.prototype.isVisible = function(pContext){ 120 return pContext.scWsp && 120 return pContext.window.top === this.fController.fWindow.top && 121 pContext.scWsp && 121 122 this.fController.fSearchView; 122 123
Note: See TracChangeset
for help on using the changeset viewer.