Ignore:
Timestamp:
03/05/10 12:43:33 (2 years ago)
Author:
sys
Message:

SubExtPoints : paramètre pour overwrite de la def parent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Wsp/modules/scenariWsp/views/historyView/HistoryViewController.jsm

    r14956 r15037  
    5252         
    5353        //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); 
    5555         
    5656        //Ajout dans les menus contextuels relatifs aux uris. 
     
    8686ActionOpenHistoryView.prototype = new actions.Action("actionOpenHistoryView").setGroup("uriActions").setLabel("Afficher l'historique"); 
    8787ActionOpenHistoryView.prototype.isVisible = function(pContext){ 
    88         return  pContext.scWsp &&  
     88        return  pContext.window.top === this.fController.fWindow.top &&  
     89                        pContext.scWsp &&  
    8990                        pContext.shortDesc &&  
    9091                        this.fController.fHistoryView && 
Note: See TracChangeset for help on using the changeset viewer.