More utils conversions for bug 384370 (irc-r=mano)

This commit is contained in:
dietrich%mozilla.com 2008-03-14 16:08:06 +00:00
Родитель c5ac5a30fa
Коммит 809c001c44
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -600,7 +600,7 @@ var BookmarksEventHandler = {
// is middle-clicked or when a non-bookmark item except for Open in Tabs)
// in a bookmarks menupopup is middle-clicked.
if (target.localName == "menu" || target.localName == "toolbarbutton")
PlacesUtils.openContainerNodeInTabs(target.node, aEvent);
PlacesUIUtils.openContainerNodeInTabs(target.node, aEvent);
}
else
this.onCommand(aEvent);

Просмотреть файл

@ -783,7 +783,7 @@ var gEditItemOverlay = {
// XXXmano: add a separate "New Folder" string at some point...
var defaultLabel = this._element("newFolderButton").label;
var txn = PlacesUIUtils.ptm.createFolder(defaultLabel, ip.itemId, ip.index);
PlacesUtils.ptm.doTransaction(txn);
PlacesUIUtils.ptm.doTransaction(txn);
this._folderTree.focus();
this._folderTree.selectItems([this._lastNewItem]);
this._folderTree.startEditing(this._folderTree.view.selection.currentIndex,