Bug 730340 - Fix typo found by neil, remove useless comments.
This commit is contained in:
@@ -313,8 +313,6 @@ PlacesViewBase.prototype = {
|
||||
element.setAttribute("image", "");
|
||||
element.removeAttribute("image");
|
||||
#endif
|
||||
// Set an expando on the node, controller will use it to build
|
||||
// its metadata.
|
||||
this.controller.cacheLivemarkInfo(aPlacesNode, aLivemark);
|
||||
}
|
||||
}.bind(this)
|
||||
@@ -530,7 +528,7 @@ PlacesViewBase.prototype = {
|
||||
|
||||
nodeRemoved:
|
||||
function PVB_nodeRemoved(aParentPlacesNode, aPlacesNode, aIndex) {
|
||||
let parentElt = this._getDOMNodeForPlacesNode(aPlacesNode);
|
||||
let parentElt = this._getDOMNodeForPlacesNode(aParentPlacesNode);
|
||||
let elt = this._getDOMNodeForPlacesNode(aPlacesNode);
|
||||
|
||||
// Here we need the <menu>.
|
||||
@@ -1000,8 +998,6 @@ PlacesToolbar.prototype = {
|
||||
function (aStatus, aLivemark) {
|
||||
if (Components.isSuccessCode(aStatus)) {
|
||||
button.setAttribute("livemark", "true");
|
||||
// Set an expando on the node, controller will use it to build
|
||||
// its metadata.
|
||||
this.controller.cacheLivemarkInfo(aChild, aLivemark);
|
||||
}
|
||||
}.bind(this)
|
||||
@@ -1252,8 +1248,6 @@ PlacesToolbar.prototype = {
|
||||
{ id: aPlacesNode.itemId },
|
||||
function (aStatus, aLivemark) {
|
||||
if (Components.isSuccessCode(aStatus)) {
|
||||
// Set an expando on the node, controller will use it to build
|
||||
// its metadata.
|
||||
this.controller.cacheLivemarkInfo(aPlacesNode, aLivemark);
|
||||
this.invalidateContainer(aPlacesNode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user