mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
Adding closing popups.
This commit is contained in:
parent
39573f4597
commit
2193a79232
@ -576,14 +576,14 @@
|
||||
<popup id="TextColorPopup" popupanchor="bottomleft">
|
||||
<html:div id="TextColorCaption" class="color-caption" align="center">&textColorCaption.label;</html:div>
|
||||
<!-- TODO: Add "Last color picked" button and text -->
|
||||
<colorpicker id="TextColorPicker" palettename="standard" onclick="EditorSelectTextColor('TextColorPicker','TextColorPopupButton')"/>
|
||||
<colorpicker id="TextColorPicker" palettename="standard" onclick="EditorSelectTextColor('TextColorPicker','TextColorPopupButton'); parentNode.closePopup();"/>
|
||||
</popup>
|
||||
|
||||
<popup id="BackColorPopup" popupanchor="bottomleft">
|
||||
<!-- Text Caption is filled in at runtime -->
|
||||
<!-- TODO: Add "Last color picked" button and text -->
|
||||
<html:div id="BackColorCaption" class="color-caption" align="center">Background Color</html:div>
|
||||
<colorpicker id="BackColorPicker" palettename="standard" onclick="EditorSelectBackColor('BackColorPicker','BackColorPopupButton')"/>
|
||||
<colorpicker id="BackColorPicker" palettename="standard" onclick="EditorSelectBackColor('BackColorPicker','BackColorPopupButton'); parentNode.closePopup();"/>
|
||||
</popup>
|
||||
|
||||
<menupopup id="AlignmentPopup">
|
||||
|
@ -162,19 +162,19 @@
|
||||
|
||||
<popupset>
|
||||
<popup id="textPopup">
|
||||
<colorpicker id="textCP" palettename="standard" onclick="getColor('textCP', 'textCW');"/>
|
||||
<colorpicker id="textCP" palettename="standard" onclick="getColor('textCP', 'textCW'); parentNode.closePopup();"/>
|
||||
</popup>
|
||||
<popup id="linkPopup">
|
||||
<colorpicker id="linkCP" palettename="standard" onclick="getColor('linkCP', 'linkCW');"/>
|
||||
<colorpicker id="linkCP" palettename="standard" onclick="getColor('linkCP', 'linkCW'); parentNode.closePopup();"/>
|
||||
</popup>
|
||||
<popup id="activePopup">
|
||||
<colorpicker id="activeCP" palettename="standard" onclick="getColor('activeCP', 'activeCW');"/>
|
||||
<colorpicker id="activeCP" palettename="standard" onclick="getColor('activeCP', 'activeCW'); parentNode.closePopup();"/>
|
||||
</popup>
|
||||
<popup id="followedPopup">
|
||||
<colorpicker id="followedCP" palettename="standard" onclick="getColor('followedCP', 'followedCW');"/>
|
||||
<colorpicker id="followedCP" palettename="standard" onclick="getColor('followedCP', 'followedCW'); parentNode.closePopup();"/>
|
||||
</popup>
|
||||
<popup id="backgroundPopup">
|
||||
<colorpicker id="backgroundCP" palettename="standard" onclick="getColor('backgroundCP', 'backgroundCW');"/>
|
||||
<colorpicker id="backgroundCP" palettename="standard" onclick="getColor('backgroundCP', 'backgroundCW'); parentNode.closePopup();"/>
|
||||
</popup>
|
||||
</popupset>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user