Skip to content

Commit

Permalink
change call from PlacesUIUtils.showItemProperties to PlacesUIUtils.sh…
Browse files Browse the repository at this point in the history
…owBookmarkDialog
  • Loading branch information
wagle committed Mar 30, 2012
1 parent 03ca874 commit 5d6f0a8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions content/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,11 @@ BookmarkTags.BookmarkCmds= function ()
function properties(bmObj)
{
// see content/browser/places/controller.js
PlacesUIUtils.showItemProperties(bmObj.id, "bookmark");
PlacesUIUtils.showBookmarkDialog({ action: "edit"
, type: "bookmark"
, itemId: bmObj.id
});

}

// See SidebarUtils.handleTreeClick at
Expand Down Expand Up @@ -927,7 +931,10 @@ BookmarkTags.TagCmds= function ()
function properties(tagId)
{
// see content/browser/places/controller.js
PlacesUIUtils.showItemProperties(tagId, "folder");
PlacesUIUtils.showBookmarkDialog({ action: "edit"
, type: "folder"
, itemId: tagId
});
}

function getCSSFile()
Expand Down

0 comments on commit 5d6f0a8

Please sign in to comment.