commit f941bc192c206051ec1a43674582169274618a91
parent b2247e1dd27812b393c380f4dacac6836555b3e9
Author: David Norton <david@nortoncrew.com>
Date: Sun, 25 Jun 2006 04:57:52 +0000
Switched Info and Notes tab back to their places. :-)
Diffstat:
2 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/chrome/chromeFiles/content/scholar/itemPane.xul b/chrome/chromeFiles/content/scholar/itemPane.xul
@@ -7,26 +7,12 @@
<script src="itemPane.js"/>
<tabbox id="scholar-view-item" height="1000">
<tabs>
- <tab label="&tabs.notes.label;"/>
<tab label="&tabs.info.label;"/>
+ <tab label="&tabs.notes.label;"/>
<tab label="&tabs.tags.label;"/>
<tab label="&tabs.files.label;"/>
</tabs>
<tabpanels flex="1">
- <vbox>
- <hbox align="center">
- <label id="scholar-notes-label"/>
- <menulist flex="1" id="scholar-notes-menu" oncommand="ScholarItemPane.onNoteSelected();">
- <menupopup/>
- </menulist>
- <label value="&scholar.minus;" class="clicky" onclick="ScholarItemPane.removeSelectedNote();"/>
- <label value="&scholar.plus;" class="clicky" onclick="ScholarItemPane.addNote();"/>
- </hbox>
- <textbox id="scholar-notes-field"
- type="timed" timeout="1000" oncommand="ScholarItemPane.modifySelectedNote();"
- multiline="true" flex="1"
- onblur="ScholarItemPane.modifySelectedNote();"/>
- </vbox>
<vbox id="scholar-info" flex="1">
<popupset>
<popup id="creatorTypeMenu" position="after_start" oncommand="ScholarItemPane.modifyCreator(document.popupNode.getAttribute('fieldname').split('-')[1],'typeID',event.explicitOriginalTarget.getAttribute('typeid'));"/>
@@ -44,6 +30,20 @@
</rows>
</grid>
</vbox>
+ <vbox>
+ <hbox align="center">
+ <label id="scholar-notes-label"/>
+ <menulist flex="1" id="scholar-notes-menu" oncommand="ScholarItemPane.onNoteSelected();">
+ <menupopup/>
+ </menulist>
+ <label value="&scholar.minus;" class="clicky" onclick="ScholarItemPane.removeSelectedNote();"/>
+ <label value="&scholar.plus;" class="clicky" onclick="ScholarItemPane.addNote();"/>
+ </hbox>
+ <textbox id="scholar-notes-field"
+ type="timed" timeout="1000" oncommand="ScholarItemPane.modifySelectedNote();"
+ multiline="true" flex="1"
+ onblur="ScholarItemPane.modifySelectedNote();"/>
+ </vbox>
<vbox align="center" pack="center">
<label value="Coming soon"/>
</vbox>
diff --git a/chrome/chromeFiles/content/scholar/overlay.js b/chrome/chromeFiles/content/scholar/overlay.js
@@ -85,7 +85,8 @@ var ScholarPane = new function()
if(itemsView && itemsView._itemGroup.isCollection())
itemsView._itemGroup.ref.addItem(item.getID());
- document.getElementById('scholar-view-item').selectedIndex = 1;
+ //set to Info tab
+ document.getElementById('scholar-view-item').selectedIndex = 0;
}
function newCollection()