Bug 1334070 - Remove the buttons definition in <dialog> to make the dialogs Retina ready. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Mon, 30 Jan 2017 17:54:40 +0100
changeset 27694 63e348c30e234cce9f07acd76eacf99896ea47fb
parent 27693 39ee657ffbfd508614ff577604ab750b18cf5061
child 27695 bfe91c4a64fe642e55a5957fc7fd5a6a0063516d
push idunknown
push userunknown
push dateunknown
reviewersjorgk
bugs1334070
Bug 1334070 - Remove the buttons definition in <dialog> to make the dialogs Retina ready. r=jorgk
editor/ui/dialogs/content/EdAdvancedEdit.xul
editor/ui/dialogs/content/EdInputImage.xul
editor/ui/dialogs/content/EdLinkProps.xul
--- a/editor/ui/dialogs/content/EdAdvancedEdit.xul
+++ b/editor/ui/dialogs/content/EdAdvancedEdit.xul
@@ -13,17 +13,16 @@
 <!-- <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> -->
 
 <!DOCTYPE dialog SYSTEM "chrome://editor/locale/EdAdvancedEdit.dtd">
 <dialog title="&WindowTitle.label;"
     id="advancedEditDlg"
     style="width: 40em;"
     xmlns ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     onload="Startup()"
-    buttons="accept,cancel"
     ondialogaccept="return onAccept();"
     ondialogcancel="return onCancel();">
 
   <!-- Methods common to all editor dialogs -->
   <script type="application/javascript" src="chrome://editor/content/editorUtilities.js"/>
   <script type="application/javascript" src="chrome://editor/content/EdDialogCommon.js"/>
   <!-- element page functions -->
   <script type="application/javascript" src="chrome://editor/content/EdAEHTMLAttributes.js"/>
--- a/editor/ui/dialogs/content/EdInputImage.xul
+++ b/editor/ui/dialogs/content/EdInputImage.xul
@@ -8,17 +8,16 @@
 
 <?xul-overlay href="chrome://editor/content/EdImageOverlay.xul"?> 
 <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?> 
 
 <!DOCTYPE dialog SYSTEM "chrome://editor/locale/EditorInputProperties.dtd">
 <dialog title="&windowTitleImage.label;"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="Startup();"
-        buttons="accept,cancel"
         ondialogaccept="return onAccept();"
         ondialogcancel="return onCancel();">
 
   <!-- Methods common to all editor dialogs -->
   <script type="application/javascript" src="chrome://editor/content/editorUtilities.js"/>
   <script type="application/javascript" src="chrome://editor/content/EdDialogCommon.js"/>
   <script type="application/javascript" src="chrome://editor/content/EdInputImage.js"/>
 
--- a/editor/ui/dialogs/content/EdLinkProps.xul
+++ b/editor/ui/dialogs/content/EdLinkProps.xul
@@ -8,17 +8,16 @@
 <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
 
 <?xul-overlay href="chrome://editor/content/EdDialogOverlay.xul"?>
 
 <!DOCTYPE dialog SYSTEM "chrome://editor/locale/EditorLinkProperties.dtd">
 
 <dialog id="linkDlg" title="&windowTitle.label;"
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-   buttons="accept,cancel"
    onload = "Startup()"
    ondialogaccept="return onAccept();"
    ondialogcancel="return onCancel();">
 
   <script type="application/javascript" src="chrome://editor/content/editorUtilities.js"/>
   <script type="application/javascript" src="chrome://editor/content/EdDialogCommon.js"/>
   <script type="application/javascript" src="chrome://editor/content/EdLinkProps.js"/>