- Timestamp:
- 03/05/10 12:43:33 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Wsp/modules/scenariWsp/views/historyView/HistoryViewController.jsm
r14956 r15037 52 52 53 53 //Déclaration de l'action pour ouvrir la view. 54 pWindow.extPoints.registerSvcByInst("actionOpenHistoryView", 1, new ActionOpenHistoryView(this) );54 pWindow.extPoints.registerSvcByInst("actionOpenHistoryView", 1, new ActionOpenHistoryView(this), true); 55 55 56 56 //Ajout dans les menus contextuels relatifs aux uris. … … 86 86 ActionOpenHistoryView.prototype = new actions.Action("actionOpenHistoryView").setGroup("uriActions").setLabel("Afficher l'historique"); 87 87 ActionOpenHistoryView.prototype.isVisible = function(pContext){ 88 return pContext.scWsp && 88 return pContext.window.top === this.fController.fWindow.top && 89 pContext.scWsp && 89 90 pContext.shortDesc && 90 91 this.fController.fHistoryView &&
Note: See TracChangeset
for help on using the changeset viewer.