зеркало из https://github.com/mozilla/pjs.git
Persist size/position and column widths for password manager dialog. Bug 217147, patch by steffen.wilberg@web.de, r=me
This commit is contained in:
Родитель
a2d2c84b23
Коммит
a07a07f82e
|
@ -352,11 +352,6 @@ function TrimString(string)
|
|||
return string.replace(/(^\s+)|(\s+$)/g, '')
|
||||
}
|
||||
|
||||
function doHelpButton() {
|
||||
openHelp("password_mgr");
|
||||
}
|
||||
|
||||
|
||||
function DeleteAllFromTree
|
||||
(tree, view, table, deletedTable, removeButton, removeAllButton) {
|
||||
|
||||
|
|
|
@ -28,15 +28,13 @@
|
|||
<dialog id="signonviewer"
|
||||
title="&windowtitle.label;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
style="width: 30em!important;"
|
||||
buttons="accept,help"
|
||||
buttons="accept"
|
||||
onload="Startup()"
|
||||
onunload="Shutdown()"
|
||||
ondialoghelp="return doHelpButton();">
|
||||
persist="screenX screenY width height">
|
||||
|
||||
<script src="chrome://passwordmgr/content/passwordManager.js"/>
|
||||
<script src="chrome://global/content/strres.js"/>
|
||||
# <script src="chrome://help/content/contextHelp.js"/>
|
||||
|
||||
<stringbundle id="signonBundle"
|
||||
src="chrome://passwordmgr/locale/passwordmgr.properties"/>
|
||||
|
@ -56,10 +54,10 @@
|
|||
onselect="SignonSelected();">
|
||||
<treecols>
|
||||
<treecol id="siteCol" label="&treehead.site.label;" flex="5"
|
||||
onclick="SignonColumnSort('host');"/>
|
||||
onclick="SignonColumnSort('host');" persist="width"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="userCol" label="&treehead.username.label;" flex="5"
|
||||
onclick="SignonColumnSort('user');"/>
|
||||
<treecol id="userCol" label="&treehead.username.label;" flex="2"
|
||||
onclick="SignonColumnSort('user');" persist="width"/>
|
||||
</treecols>
|
||||
<treechildren/>
|
||||
</tree>
|
||||
|
|
Загрузка…
Ссылка в новой задаче