Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/composer.xul

Issue 29323107: Issue 2816 - Restore Preview functionality (Closed)
Patch Set: Added comment linking to bug report Created July 31, 2015, 3:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/content/composer.js ('k') | chrome/content/frameScript.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- This Source Code is subject to the terms of the Mozilla Public License 3 <!-- This Source Code is subject to the terms of the Mozilla Public License
4 - version 2.0 (the "License"). You can obtain a copy of the License at 4 - version 2.0 (the "License"). You can obtain a copy of the License at
5 - http://mozilla.org/MPL/2.0/. --> 5 - http://mozilla.org/MPL/2.0/. -->
6 6
7 <!DOCTYPE overlay SYSTEM "chrome://elemhidehelper/locale/composer.dtd"> 7 <!DOCTYPE overlay SYSTEM "chrome://elemhidehelper/locale/composer.dtd">
8 8
9 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 9 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
10 <?xml-stylesheet href="chrome://elemhidehelper/skin/composer.css" type="text/css "?> 10 <?xml-stylesheet href="chrome://elemhidehelper/skin/composer.css" type="text/css "?>
11 11
12 <dialog id="ehh-composer" 12 <dialog id="ehh-composer"
13 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 13 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
14 title="&dialog.title;" 14 title="&dialog.title;"
15 onload="init()" 15 onload="init();"
16 ondialogaccept="addExpression();" 16 ondialogaccept="addExpression();"
17 ondialogdisclosure="setAdvancedMode(!advancedMode);" 17 ondialogdisclosure="setAdvancedMode(!advancedMode);"
18 onunload="togglePreview(false);" 18 onunload="togglePreview(false, true);"
19 buttons="accept,cancel,disclosure" 19 buttons="accept,cancel,disclosure"
20 width="600px" 20 width="600px"
21 height="400px" 21 height="400px"
22 persist="screenX screenY width height sizemode advancedMode" 22 persist="screenX screenY width height sizemode advancedMode"
23 advancedMode="false" 23 advancedMode="false"
24 buttonlabelaccept="&accept.label;" 24 buttonlabelaccept="&accept.label;"
25 buttonlabeldisclosure="&advanced.label;" 25 buttonlabeldisclosure="&advanced.label;"
26 buttonlabeldisclosure_on="&advanced.label;" 26 buttonlabeldisclosure_on="&advanced.label;"
27 buttonlabeldisclosure_off="&basic.label;" 27 buttonlabeldisclosure_off="&basic.label;"
28 windowtype="ehh:composer"> 28 windowtype="ehh:composer">
29 <script type="application/x-javascript;version=1.7" src="common.js"/> 29 <script type="application/x-javascript;version=1.7" src="common.js"/>
30 <script type="application/x-javascript;version=1.7" src="composer.js"/> 30 <script type="application/x-javascript;version=1.7" src="composer.js"/>
31 31
32 <description id="groupDisabledWarning" hidden="true">&groupDisabled.warning;</ description> 32 <description id="groupDisabledWarning" hidden="true">&groupDisabled.warning;</ description>
33 33
34 <vbox id="expressionBox"> 34 <vbox id="expressionBox">
35 <label control="expression" value="&expression.label;"/> 35 <label control="expression" value="&expression.label;"/>
36 <hbox> 36 <hbox>
37 <textbox id="expression" flex="1" readonly="true"/> 37 <textbox id="expression" flex="1" readonly="true"/>
38 <checkbox id="preview" label="&preview.label;" checked="true" oncommand="t ogglePreview(this.checked)" persist="checked"/> 38 <checkbox id="preview" label="&preview.label;" checked="true" oncommand="t ogglePreview(this.checked)" persist="checked"/>
39 </hbox> 39 </hbox>
40 </vbox> 40 </vbox>
41 41
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 <splitter id="nodes-tree-splitter"/> 75 <splitter id="nodes-tree-splitter"/>
76 <scrollbox id="attributes-list" orient="vertical" flex="1" 76 <scrollbox id="attributes-list" orient="vertical" flex="1"
77 _labeltagname="&attributes.tagname.label;" 77 _labeltagname="&attributes.tagname.label;"
78 _labelfirstchild="&attributes.firstchild.label;" 78 _labelfirstchild="&attributes.firstchild.label;"
79 _labellastchild="&attributes.lastchild.label;" 79 _labellastchild="&attributes.lastchild.label;"
80 _labelcustom="&attributes.custom.label;"/> 80 _labelcustom="&attributes.custom.label;"/>
81 </hbox> 81 </hbox>
82 </groupbox> 82 </groupbox>
83 </hbox> 83 </hbox>
84 </dialog> 84 </dialog>
OLDNEW
« no previous file with comments | « chrome/content/composer.js ('k') | chrome/content/frameScript.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld