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