Fixes #780, Quicksearch lost after dragging item to collection

This commit is contained in:
Dan Stillman 2007-10-11 07:43:51 +00:00
parent 03494d7405
commit 8997c86e41

View File

@ -437,7 +437,8 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids, extraData)
// Otherwise re-run the search, which refreshes the item list // Otherwise re-run the search, which refreshes the item list
else else
{ {
if (activeWindow) { // For item adds, clear quicksearch
if (activeWindow && type == 'item') {
quicksearch.value = ''; quicksearch.value = '';
} }
quicksearch.doCommand(); quicksearch.doCommand();