www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 15977ba5b18dbce9c3e43deae21bed31b5ae210b
parent 5284da05af1a2e92502d74d74f8063b498d1cb13
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun,  6 Jun 2010 01:25:34 +0000

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)


Diffstat:
Mchrome/content/zotero/integration/addCitationDialog.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/integration/addCitationDialog.js b/chrome/content/zotero/integration/addCitationDialog.js @@ -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;