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

Unified Diff: chrome/content/composer.xul

Issue 29323107: Issue 2816 - Restore Preview functionality (Closed)
Patch Set: Created July 30, 2015, 1:09 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/content/composer.xul
===================================================================
--- a/chrome/content/composer.xul
+++ b/chrome/content/composer.xul
@@ -7,33 +7,33 @@
<!DOCTYPE overlay SYSTEM "chrome://elemhidehelper/locale/composer.dtd">
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://elemhidehelper/skin/composer.css" type="text/css"?>
<dialog id="ehh-composer"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&dialog.title;"
- onload="init()"
+ onload="init();"
ondialogaccept="addExpression();"
ondialogdisclosure="setAdvancedMode(!advancedMode);"
- onunload="togglePreview(false);"
+ onunload="togglePreview(false, true);"
buttons="accept,cancel,disclosure"
width="600px"
height="400px"
persist="screenX screenY width height sizemode advancedMode"
advancedMode="false"
buttonlabelaccept="&accept.label;"
buttonlabeldisclosure="&advanced.label;"
buttonlabeldisclosure_on="&advanced.label;"
buttonlabeldisclosure_off="&basic.label;"
windowtype="ehh:composer">
<script type="application/x-javascript;version=1.7" src="common.js"/>
<script type="application/x-javascript;version=1.7" src="composer.js"/>
-
+
<description id="groupDisabledWarning" hidden="true">&groupDisabled.warning;</description>
<vbox id="expressionBox">
<label control="expression" value="&expression.label;"/>
<hbox>
<textbox id="expression" flex="1" readonly="true"/>
<checkbox id="preview" label="&preview.label;" checked="true" oncommand="togglePreview(this.checked)" persist="checked"/>
</hbox>

Powered by Google App Engine
This is Rietveld