зеркало из https://github.com/mozilla/gecko-dev.git
fix for bug #374150: [places] assert when I attempt to right click + bookmark a link: Couldn't select folders because no root node was available.
my fix for bug #373719 caused this regression. r=mano
This commit is contained in:
Родитель
dff1bb81cc
Коммит
851a527ed4
|
@ -331,13 +331,18 @@ var BookmarkPropertiesPanel = {
|
|||
this._tm = window.opener.PlacesUtils.tm;
|
||||
|
||||
this._determineItemInfo();
|
||||
this._initFolderTree();
|
||||
|
||||
// on timeout because of the corresponding setTimeout()
|
||||
// in the places tree binding's constructor
|
||||
var self = this;
|
||||
setTimeout(function() { self._initFolderTree(); }, 0);
|
||||
|
||||
this._populateProperties();
|
||||
this._forceHideRows();
|
||||
this.validateChanges();
|
||||
this._updateSize();
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* This method initializes the folder tree.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче