mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Last batch of the <titledbutton>s in xul/js... bug=57751, r=kin, a=ben
This commit is contained in:
parent
cbe95ba195
commit
ab948d4512
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user