This commit is contained in:
ben%netscape.com 2000-06-22 06:03:09 +00:00
Родитель 15dc3fd0bf
Коммит de1a9fe693
1 изменённых файлов: 16 добавлений и 11 удалений

Просмотреть файл

@ -31,8 +31,10 @@ function initPanel ( aPrefTag )
{
if( hPrefWindow )
hPrefWindow.onpageload( aPrefTag )
else
queuedTag = aPageTag;
else {
dump("*** queueing up a panel...\n");
queuedTag = aPrefTag;
}
}
window.doneLoading = false;
@ -73,16 +75,20 @@ nsPrefWindow.prototype =
dump("*** Failed to create prefs object\n");
return;
}
if( window.queuedTag )
{
this.onpageload( window.queuedTag );
}
if( window.arguments[1] )
this.closeBranches( window.arguments[1] );
},
init:
function ()
{
if( window.queuedTag )
{
this.onpageload( window.queuedTag );
}
if( window.arguments[1] )
this.closeBranches( window.arguments[1] );
},
onOK:
function ()
{
@ -304,7 +310,6 @@ nsPrefWindow.prototype =
closeBranches:
function ( aComponentName )
{
dump("*** running closeBranches\n");
var panelChildren = document.getElementById( "panelChildren" );
var panelTree = document.getElementById( "prefsTree" );
for( var i = 0; i < panelChildren.childNodes.length; i++ )