gecko-dev/browser/components/preferences/in-content/containers.xul
Paolo Amadini ab31ef697a Bug 1457027 - Part 1 - Don't persist the last selected handler. r=jaws
We plan to remove XUL persistence eventually, and this is a special case that uses the feature with an unusual attribute. This change also prevents pitfalls with getElementsByAttribute when the richlistitem descendants are made non-anonymous.

Some unneeded attributes in both the handlers and the containers richlistbox items are also cleaned up.

MozReview-Commit-ID: C05ArQGZb95

--HG--
extra : rebase_source : c5cd38498badaed8a5b8042aa906f4fbb89e47d9
2018-04-30 11:11:48 +01:00

34 lines
1.1 KiB
XML

# 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/.
<!-- Containers panel -->
<script type="application/javascript"
src="chrome://browser/content/preferences/in-content/containers.js"/>
<hbox hidden="true"
class="container-header-links"
data-category="paneContainers">
<label class="text-link" id="backContainersLink" data-l10n-id="containers-back-link"/>
</hbox>
<hbox id="header-containers"
class="header"
hidden="true"
data-category="paneContainers">
<label class="header-name" flex="1" data-l10n-id="containers-header"/>
</hbox>
<!-- Containers -->
<groupbox id="browserContainersGroupPane" data-category="paneContainers" hidden="true"
data-hidden-from-search="true" data-subpanel="true">
<vbox id="browserContainersbox">
<richlistbox id="containersView"/>
</vbox>
<vbox>
<hbox flex="1">
<button id="containersAdd" oncommand="gContainersPane.onAddButtonCommand();" data-l10n-id="containers-add-button"/>
</hbox>
</vbox>
</groupbox>