Remove option to display Zotero pane above browser content

There are times when I am right, when I demonstrate profound foresight sometimes borne out only years down the line. Then there are the other times.
This commit is contained in:
Dan Stillman 2009-08-09 22:40:42 +00:00
parent fa23cf9036
commit 53bd9afeac
3 changed files with 0 additions and 38 deletions

View file

@ -106,38 +106,6 @@ var ZoteroPane = new function()
}
_loaded = true;
if(Zotero.Prefs.get("zoteroPaneOnTop"))
{
var oldPane = document.getElementById('zotero-pane');
var oldSplitter = document.getElementById('zotero-splitter');
var appContent = document.getElementById('appcontent');
var newPane = document.createElement('hbox');
newPane.setAttribute('id','zotero-pane');
newPane.setAttribute('persist','savedHeight');
newPane.setAttribute('hidden', true);
newPane.setAttribute('onkeydown', 'ZoteroPane.handleKeyDown(event, this.id)');
newPane.setAttribute('onkeyup', 'ZoteroPane.handleKeyUp(event, this.id)');
newPane.setAttribute('chromedir', '&locale.dir;');
newPane.height = oldPane.height;
while(oldPane.hasChildNodes())
newPane.appendChild(oldPane.firstChild);
appContent.removeChild(oldPane);
appContent.insertBefore(newPane, document.getElementById('content'));
var newSplitter = document.createElement('splitter');
newSplitter.setAttribute('id','zotero-splitter');
newSplitter.setAttribute('hidden', true);
newSplitter.setAttribute('resizebefore','closest');
newSplitter.setAttribute('resizeafter','closest');
newSplitter.setAttribute('onmouseup', 'ZoteroPane.updateTagSelectorSize()');
appContent.removeChild(oldSplitter);
appContent.insertBefore(newSplitter, document.getElementById('content'));
document.getElementById('zotero-tb-fullscreen').setAttribute('zoterotop','true');
}
Zotero.setFontSize(document.getElementById('zotero-pane'))
if (Zotero.isMac) {

View file

@ -261,11 +261,6 @@ window[active="true"] #zotero-pane-stack[fullscreenmode="true"][platform="mac"]
list-style-image: url('chrome://zotero/skin/toolbar-fullscreen-bottom.png');
}
#zotero-tb-fullscreen[zoterotop="true"]
{
list-style-image: url('chrome://zotero/skin/toolbar-fullscreen-top.png');
}
#zotero-pane-stack[fullscreenmode="true"] #zotero-tb-fullscreen
{
list-style-image: url('chrome://zotero/skin/toolbar-fullscreen-top.png');

View file

@ -16,7 +16,6 @@ pref("extensions.zotero.debug.time", false);
pref("extensions.zotero.automaticScraperUpdates",true);
pref("extensions.zotero.zoteroDotOrgVersionHeader", true);
pref("extensions.zotero.cacheTranslatorData",true);
pref("extensions.zotero.zoteroPaneOnTop",false);
pref("extensions.zotero.statusBarIcon", 2);
pref("extensions.zotero.browserContentContextMenu", true);
pref("extensions.zotero.openURL.resolver","http://worldcatlibraries.org/registry/gateway");