diff --git a/browser/components/places/content/places.xul b/browser/components/places/content/places.xul index 8f0b813d1657..e7435ecd8b2c 100755 --- a/browser/components/places/content/places.xul +++ b/browser/components/places/content/places.xul @@ -451,37 +451,38 @@ - - - - diff --git a/browser/components/places/content/treeView.js b/browser/components/places/content/treeView.js index 35632ef3343e..8522839a1baf 100644 --- a/browser/components/places/content/treeView.js +++ b/browser/components/places/content/treeView.js @@ -438,7 +438,8 @@ PlacesTreeView.prototype = { COLUMN_TYPE_TAGS: 9, _getColumnType: function PTV__getColumnType(aColumn) { - var columnType = aColumn.id || aColumn.element.getAttribute("anonid"); + var columnType = aColumn.element.getAttribute("anonid") || aColumn.id; + switch (columnType) { case "title": return this.COLUMN_TYPE_TITLE; @@ -1095,8 +1096,8 @@ PlacesTreeView.prototype = { getImageSrc: function PTV_getImageSrc(aRow, aColumn) { this._ensureValidRow(aRow); - // only the first column has an image - if (aColumn.index != 0) + // only the title column has an image + if (this._getColumnType(aColumn) != this.COLUMN_TYPE_TITLE) return ""; var node = this._visibleElements[aRow].node;