Opened 9 years ago

Last modified 6 years ago

#840 new enhancement

Don't hard-code current pane in ZoteroPane::itemSelected()

Reported by: dstillman Owned by: dstillman
Priority: trivial Milestone:
Component: interface Version: 1.5
Keywords: Cc:

Description

From the dev list:

The mechanism used to select the current item pane is:

document.getElementById('zotero-item-pane-content').selectedIndex = 3;

would it not be less ambiguous to do something like:

var currentPanel = document.getElementById('zotero-view-whatever');
document.getElementById('zotero-item-pane-content').selectedPanel = currentPanel;

Change History (1)

comment:1 Changed 6 years ago by dstillman

  • Milestone 2.0 Beta 3 deleted

Milestone 2.0 Beta 3 deleted

Note: See TracTickets for help on using tickets.