www

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

commit 3bf82a4d4deb235d5e6c0b551619cd89e4cb79b9
parent 9c52ebdf8b0911b722aedc32a428157db7cef35f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat,  8 Oct 2016 18:59:20 -0400

Hide items pane at startup to avoid showing column lines

Column groups aren't processed until after startup progress meter closes, so
otherwise lines show behind the progress meter for all possible columns.

Diffstat:
Mchrome/content/zotero/zoteroPane.js | 2++
Mchrome/content/zotero/zoteroPane.xul | 1+
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js @@ -365,6 +365,8 @@ var ZoteroPane = new function() yield Zotero.unlockPromise; + // The items pane is hidden initially to avoid showing column lines + document.getElementById('zotero-items-tree').hidden = false; Zotero.hideZoteroPaneOverlays(); // If pane not loaded, load it or display an error message diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul @@ -371,6 +371,7 @@ onselect="ZoteroPane_Local.itemSelected(event)" oncommand="ZoteroPane_Local.serializePersist()" flex="1" + hidden="true" zotero-persist="current-view-group"> <treecols id="zotero-items-columns-header"> <treecol