Files
tubestation/browser/components/preferences/in-content/syncChooseWhatToSync.xhtml
Kirk Steuber fae45264bb Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

Differential Revision: https://phabricator.services.mozilla.com/D52411
2019-12-10 18:25:59 +00:00

64 lines
2.6 KiB
HTML

<?xml version="1.0"?>
<!-- -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- -->
<!-- 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
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?xml-stylesheet href="chrome://global/skin/"?>
<window type="child"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
onload="gSyncChooseWhatToSync.init();"
data-l10n-id="sync-choose-what-to-sync-dialog"
data-l10n-attrs="title, style">
<dialog id="syncChooseOptions"
buttons="accept,cancel,extra2"
data-l10n-id="sync-choose-what-to-sync-dialog"
data-l10n-attrs="buttonlabelaccept, buttonlabelextra2">
<linkset>
<html:link rel="localization" href="browser/branding/sync-brand.ftl"/>
<html:link rel="localization" href="browser/preferences/preferences.ftl"/>
</linkset>
<script src="chrome://global/content/preferencesBindings.js"/>
<script src="chrome://browser/content/preferences/in-content/syncChooseWhatToSync.js"/>
<html:div class="sync-engines-list">
<html:div class="sync-engine-bookmarks">
<checkbox data-l10n-id="sync-engine-bookmarks"
preference="services.sync.engine.bookmarks"/>
</html:div>
<html:div class="sync-engine-history">
<checkbox data-l10n-id="sync-engine-history"
preference="services.sync.engine.history"/>
</html:div>
<html:div class="sync-engine-tabs">
<checkbox data-l10n-id="sync-engine-tabs"
preference="services.sync.engine.tabs"/>
</html:div>
<html:div class="sync-engine-passwords">
<checkbox data-l10n-id="sync-engine-logins-passwords"
preference="services.sync.engine.passwords"/>
</html:div>
<html:div class="sync-engine-addresses">
<checkbox data-l10n-id="sync-engine-addresses"
preference="services.sync.engine.addresses"/>
</html:div>
<html:div class="sync-engine-creditcards">
<checkbox data-l10n-id="sync-engine-creditcards"
preference="services.sync.engine.creditcards"/>
</html:div>
<html:div class="sync-engine-addons">
<checkbox data-l10n-id="sync-engine-addons"
preference="services.sync.engine.addons"/>
</html:div>
<html:div class="sync-engine-prefs">
<checkbox data-l10n-id="sync-engine-prefs"
preference="services.sync.engine.prefs"/>
</html:div>
</html:div>
</dialog>
</window>