Bug 1500245 - Fix white-space issues in publishDialog.xul. rs=white-space-only
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 25 Oct 2018 23:18:22 +1300
changeset 33576 916eab4bfc3c7c682eefe6badac221913c9292eb
parent 33575 690cbf66893711048651ecbfe2fc561af6e34839
child 33577 8c7ebdc9de178c92069b6c5a7fe0f0c56b7abd81
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewerswhite-space-only
bugs1500245
Bug 1500245 - Fix white-space issues in publishDialog.xul. rs=white-space-only
calendar/resources/content/publishDialog.xul
--- a/calendar/resources/content/publishDialog.xul
+++ b/calendar/resources/content/publishDialog.xul
@@ -4,72 +4,61 @@
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 
 <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
 
 <!-- CSS File with all styles specific to the dialog -->
 <?xml-stylesheet href="chrome://calendar/skin/dialogOverlay.css" type="text/css"?>
 
 <!-- DTD File with all strings specific to the calendar -->
-<!DOCTYPE dialog
-[
-    <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
-    <!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
+<!DOCTYPE dialog [
+  <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
+  <!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
 ]>
 
-
-<dialog
-   id="calendar-publishwindow"
-   title="&calendar.publish.dialog.title;"
-   windowtype="Calendar:PublishDialog"
-   buttons="accept,cancel"
-   ondialogaccept="return onOKCommand();"
-   ondialogcancel="return true;"
-   onload="loadCalendarPublishDialog()"
-   persist="screenX screenY"
-   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-   xmlns:html="http://www.w3.org/1999/xhtml"
-   xmlns:nc="http://home.netscape.com/NC-rdf#">
+<dialog id="calendar-publishwindow"
+        title="&calendar.publish.dialog.title;"
+        windowtype="Calendar:PublishDialog"
+        buttons="accept,cancel"
+        ondialogaccept="return onOKCommand();"
+        ondialogcancel="return true;"
+        onload="loadCalendarPublishDialog()"
+        persist="screenX screenY"
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+        xmlns:html="http://www.w3.org/1999/xhtml"
+        xmlns:nc="http://home.netscape.com/NC-rdf#">
 
-
-   <!-- Javascript includes -->
-   <script type="application/javascript" src="chrome://calendar/content/publishDialog.js"/>
+  <!-- Javascript includes -->
+  <script type="application/javascript" src="chrome://calendar/content/publishDialog.js"/>
+  <script type="application/javascript">
+    var publishButtonLabel = "&calendar.publish.publish.button;";
+    var closeButtonLabel = "&calendar.publish.close.button;";
+  </script>
 
-   <script type="application/javascript" >
-   var publishButtonLabel = "&calendar.publish.publish.button;" ;
-   var closeButtonLabel = "&calendar.publish.close.button;" ;
-   </script>
+  <!-- Data used in JS from dtd -->
+  <keyset id="dialogKeys"/>
 
-   <!-- Data used in JS from dtd -->
-
-   <keyset id="dialogKeys"/>
-
-   <!-- The dialog -->
+  <!-- The dialog -->
 
-   <!-- dialog-box: from dialogOverlay.xul -->
-
-   <vbox id="dialog-box" flex="1">
-         <grid>
-                <columns>
-                    <column />
-                    <column flex="1"/>
-                </columns>
-
-                <rows>
-
-                    <!-- Remote Path -->
-                    <row align="center">
-                        <hbox class="field-label-box-class" pack="end">
-                            <label control="publish-remotePath-textbox">&calendar.publish.url.label;</label>
-                        </hbox>
-                        <textbox flex="1" id="publish-remotePath-textbox" oninput="checkURLField()"/>
-                    </row>
-                    <row align="center">
-                        <hbox class="field-label-box-class" pack="end"/>
-                        <description>&calendar.publish.example.url.description;</description>
-                    </row>
-
-                  </rows>
-               </grid>
-					<html:progress id="publish-progressmeter" value="0" max="100"/>
-   </vbox> <!-- dialog-box -->
-
+  <!-- dialog-box: from dialogOverlay.xul -->
+  <vbox id="dialog-box" flex="1">
+    <grid>
+      <columns>
+        <column />
+        <column flex="1"/>
+      </columns>
+      <rows>
+        <!-- Remote Path -->
+        <row align="center">
+          <hbox class="field-label-box-class" pack="end">
+            <label control="publish-remotePath-textbox">&calendar.publish.url.label;</label>
+          </hbox>
+          <textbox flex="1" id="publish-remotePath-textbox" oninput="checkURLField()"/>
+        </row>
+        <row align="center">
+          <hbox class="field-label-box-class" pack="end"/>
+          <description>&calendar.publish.example.url.description;</description>
+        </row>
+      </rows>
+    </grid>
+    <html:progress id="publish-progressmeter" value="0" max="100"/>
+  </vbox><!-- dialog-box -->
 </dialog>