Switched Info and Notes tab back to their places. :-)
This commit is contained in:
parent
b2247e1dd2
commit
f941bc192c
2 changed files with 17 additions and 16 deletions
|
@ -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>
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue