oops, didn't fix that restore default bug in the appropriate way...

git-svn-id: svn://10.0.0.236/trunk@76948 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ben%netscape.com
2000-08-23 05:10:55 +00:00
parent 17825c922a
commit 550f9304c4
3 changed files with 0 additions and 21 deletions

View File

@@ -71,17 +71,3 @@ function themeSelect()
}
}
function restoreDefaults()
{
var theSkinKids = document.getElementById("theSkinKids");
if (theSkinKids.hasChildNodes()) {
var defaultTheme = theSkinKids.firstChild;
var tree = document.getElementById( "skinsTree" );
var selectedSkinItem = tree.selectedItems[0];
var skinName = selectedSkinItem.getAttribute( "name" );
chromeRegistry.selectSkin( skinName, DEBUG_USE_PROFILE );
chromeRegistry.refreshSkins();
}
}

View File

@@ -92,9 +92,4 @@
</box>
</box>
<separator class="groove"/>
<box>
<button value="&restoreDefaults.label;" accesskey="&restoreDefaults.accesskey;" oncommand="restoreDefaults();"/>
</box>
</window>

View File

@@ -12,5 +12,3 @@
<!ENTITY preview.label "Preview Image">
<!ENTITY author.label "Author">
<!ENTITY restoreDefaults.label "Restore Default">
<!ENTITY restoreDefaults.accesskey "r">