- 899 名前:名無しさん@お腹いっぱい。 mailto:sage [2008/06/13(金) 19:46:10 ID:KLgoFiQi0]
- >>898
--- BHNewTab1.1mod3.uc.js 2008-05-31 18:22:30.558507200 +0900 +++ BHNewTab1.1mod4.uc.js 2008-06-13 19:38:44.232416000 +0900 @@ -296,9 +296,9 @@ var el = doc.getElementById('placesContext_openContainer:tabs'); el.setAttribute('oncommand','this.run(event);'); el.run = function(event){ - var _view = PlacesUtils.getViewForNode(doc.popupNode).controller._view; + var _view = PlacesUIUtils.getViewForNode(doc.popupNode).controller._view; var node = _view.selectedNode; - if(_view.hasSingleSelection && PlacesUtils.nodeIsContainer(node)) PlacesUtils.openContainerNodeInTabs(_view.selectedNode,event); + if(_view.hasSingleSelection && PlacesUtils.nodeIsContainer(node)) PlacesUIUtils.openContainerNodeInTabs(_view.selectedNode,event); else{ let urllist = []; let contents = PlacesUtils.getFolderContents(node.itemId, false, false).root; @@ -307,12 +307,12 @@ if (PlacesUtils.nodeIsURI(child)) urllist.push(child); } - PlacesUtils.openURINodesInTabs(urllist,event); + PlacesUIUtils.openURINodesInTabs(urllist,event); } }; - win.PlacesUtils.openContainerNodeInTabs = function(node,event){ - var urllist = this.getURLsForContainerNode(node); + win.PlacesUIUtils.openContainerNodeInTabs = function(node,event){ + var urllist = PlacesUtils.getURLsForContainerNode(node); if(!this._confirmOpenInTabs(urllist.length)) return; var urls = []; for(let i = 0; i < urllist.length; i++){
|

|