allow selecting first list item after clicking "Multiple Citations..." button (don't know why this didn't work, and don't know why this fixes it)
This commit is contained in:
parent
5284da05af
commit
15977ba5b1
1 changed files with 1 additions and 1 deletions
|
@ -286,8 +286,8 @@ var Zotero_Citation_Dialog = new function () {
|
|||
var item = itemsView.getSelectedItems()[0]; // treeview from selectItemsDialog.js
|
||||
_itemSelected(item.getID());
|
||||
_addItem(item);
|
||||
_citationList.selectedIndex = _citationList.getRowCount()-1;
|
||||
_citationList.focus();
|
||||
_citationList.selectedIndex = _citationList.getRowCount()-1;
|
||||
|
||||
// don't let someone select it again
|
||||
document.getElementById("add").disabled = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue