Last batch of the <titledbutton>s in xul/js... bug=57751, r=kin, a=ben

This commit is contained in:
disttsc%bart.nl 2000-11-30 15:07:53 +00:00
parent cbe95ba195
commit ab948d4512
5 changed files with 6 additions and 6 deletions

View File

@ -1902,7 +1902,7 @@ function getColorAndSetColorWell(ColorPickerID, ColorWellID)
if (colorWell && color)
{
// Use setAttribute so colorwell can be a XUL element, such as titledbutton
// Use setAttribute so colorwell can be a XUL element, such as button
colorWell.setAttribute("style", "background-color: " + color);
}
}

View File

@ -62,7 +62,7 @@
<treerow>
<treecell>
<treeindentation />
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
<button value="rdf:http://home.netscape.com/NC-rdf#Name"
align="left" />
</treecell>
</treerow>

View File

@ -52,7 +52,7 @@
<treerow>
<treecell>
<treeindentation />
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
<button value="rdf:http://home.netscape.com/NC-rdf#Name"
align="left" />
</treecell>
</treerow>

View File

@ -39,10 +39,10 @@
<box id="sidebox" orient="vertical" flex="1">
<box class="sidebartitle">
<spring flex="1"/>
<titledbutton class="dialog borderless paneltitle"
<button class="dialog borderless paneltitle"
value="&sidebar.reload.label;"
oncommand="window.location.reload()" />
<titledbutton class="borderless paneltitle"
<button class="borderless paneltitle"
value="&sidebar.customize.label;"
oncommand="var dialogWindow=customize();" />
</box>

View File

@ -680,7 +680,7 @@ function setColorWell(ColorWellID, color)
else
{
colorWell.removeAttribute("default");
// Use setAttribute so colorwell can be a XUL element, such as titledbutton
// Use setAttribute so colorwell can be a XUL element, such as button
colorWell.setAttribute("style", "background-color:"+color);
}
}