mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 135717 can't customize sidebar if all tabs are deleted r=varga sr=jag
This commit is contained in:
parent
6bd439e10d
commit
b4789216a1
@ -106,6 +106,8 @@ function save_initial_panels()
|
||||
{
|
||||
var tree = document.getElementById('current-panels');
|
||||
if (!tree.view) {
|
||||
// The tempate didn't build a treechildren, create one now
|
||||
tree.appendChild(document.createElement('treechildren'));
|
||||
setTimeout(save_initial_panels, 0);
|
||||
} else {
|
||||
for (var i = 0; i < tree.view.rowCount; ++i) {
|
||||
|
Loading…
Reference in New Issue
Block a user