www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit d18266517350e0177847b43222fbb18951c07ea6
parent d8ce6ce6f384245a632d676d81150316f6311095
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 16 Dec 2013 19:17:25 -0500

Allow left pane collapsed state to persist

Also fix weirdness trying to open collapsed tag selector after restart.
(The splitter's 'state' attribute has to be persisted, not the
'collapsed' state of the pane in question.)

Diffstat:
Mchrome/content/zotero/zoteroPane.xul | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul @@ -315,14 +315,16 @@ </treecols> <treechildren/> </tree> - <splitter id="zotero-tags-splitter" onmouseup="ZoteroPane_Local.updateTagSelectorSize()" collapse="after"> + <splitter id="zotero-tags-splitter" onmouseup="ZoteroPane_Local.updateTagSelectorSize()" collapse="after" + zotero-persist="state"> <grippy oncommand="ZoteroPane_Local.toggleTagSelector()"/> </splitter> - <zoterotagselector id="zotero-tag-selector" zotero-persist="height,collapsed,showAutomatic,filterToScope" + <zoterotagselector id="zotero-tag-selector" zotero-persist="height,showAutomatic,filterToScope" oncommand="ZoteroPane_Local.updateTagFilter()"/> </vbox> <splitter id="zotero-collections-splitter" resizebefore="closest" resizeafter="closest" collapse="before" + zotero-persist="state" onmousemove="document.getElementById('zotero-items-toolbar').setAttribute('state', this.getAttribute('state'));ZoteroPane_Local.updateToolbarPosition();" oncommand="ZoteroPane_Local.updateToolbarPosition()"> <grippy id="zotero-collections-grippy"/>