Bug 1703164 - convert mailnews/base/content/subscribe.xhtml to top level <html>. r=henry
Differential Revision: https://phabricator.services.mozilla.com/D136614 --HG-- extra : rebase_source : 703d28367e403d775c7a45d048809f75c7749a9d extra : amend_source : 6e3fa7f7b6854977cc62e8bd55d572f7ee45a3f5
This commit is contained in:
Родитель
7a54da37ce
Коммит
ccde766f7d
|
@ -19,6 +19,9 @@ var gSearchView = null;
|
||||||
var gSearchTree = null;
|
var gSearchTree = null;
|
||||||
var gSubscribeBundle;
|
var gSubscribeBundle;
|
||||||
|
|
||||||
|
window.addEventListener("DOMContentLoaded", SubscribeOnLoad);
|
||||||
|
window.addEventListener("unload", SubscribeOnUnload);
|
||||||
|
|
||||||
document.addEventListener("dialogaccept", subscribeOK);
|
document.addEventListener("dialogaccept", subscribeOK);
|
||||||
document.addEventListener("dialogcancel", subscribeCancel);
|
document.addEventListener("dialogcancel", subscribeCancel);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
@ -9,27 +8,29 @@
|
||||||
<?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
|
<?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
|
||||||
<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>
|
<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>
|
||||||
|
|
||||||
<!DOCTYPE window SYSTEM "chrome://messenger/locale/subscribe.dtd">
|
<!DOCTYPE html SYSTEM "chrome://messenger/locale/subscribe.dtd">
|
||||||
|
|
||||||
<window id="subscribeWindow"
|
<html id="subscribeWindow" xmlns="http://www.w3.org/1999/xhtml"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
title="&subscribeDialog.title;"
|
persist="width height screenX screenY"
|
||||||
style="width: 44em; height: 33em;"
|
width="645" height="484"
|
||||||
persist="width height screenX screenY"
|
lightweightthemes="true"
|
||||||
onload="SubscribeOnLoad()"
|
windowtype="mailnews:subscribe"
|
||||||
onunload="SubscribeOnUnload()"
|
scrolling="false">
|
||||||
lightweightthemes="true"
|
<head>
|
||||||
windowtype="mailnews:subscribe">
|
<title>&subscribeDialog.title;</title>
|
||||||
|
<script defer="defer" src="chrome://global/content/globalOverlay.js"></script>
|
||||||
|
<script defer="defer" src="chrome://global/content/editMenuOverlay.js"></script>
|
||||||
|
<script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script>
|
||||||
|
<script defer="defer" src="chrome://messenger/content/mailWindow.js"></script>
|
||||||
|
<script defer="defer" src="chrome://messenger/content/subscribe.js"></script>
|
||||||
|
</head>
|
||||||
|
<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
<dialog>
|
<dialog>
|
||||||
<stringbundle id="bundle_subscribe" src="chrome://messenger/locale/subscribe.properties"/>
|
<stringbundle id="bundle_subscribe" src="chrome://messenger/locale/subscribe.properties"/>
|
||||||
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
|
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
|
||||||
|
|
||||||
<script src="chrome://global/content/globalOverlay.js"/>
|
|
||||||
<script src="chrome://messenger/content/mailWindow.js"/>
|
|
||||||
<script src="chrome://messenger/content/subscribe.js"/>
|
|
||||||
<script src="chrome://messenger/content/dialogShadowDom.js"/>
|
|
||||||
|
|
||||||
<vbox flex="1" style="width: 40em; height: 25em;">
|
<vbox flex="1" style="width: 40em; height: 25em;">
|
||||||
<hbox>
|
<hbox>
|
||||||
<vbox>
|
<vbox>
|
||||||
|
@ -171,4 +172,5 @@
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
</dialog>
|
</dialog>
|
||||||
</window>
|
</html:body>
|
||||||
|
</html>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче