From 14ba1b8fbc38eb955ef73793157edefb5a890604 Mon Sep 17 00:00:00 2001 From: David Norton Date: Thu, 8 Jun 2006 21:47:33 +0000 Subject: [PATCH] [interface] collection stays selected on drag-and-drop. [interface] Collections notify() cleaned up a bit. --- .../content/scholar/collectionTreeView.js | 41 ++++++++++--------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/chrome/chromeFiles/content/scholar/collectionTreeView.js b/chrome/chromeFiles/content/scholar/collectionTreeView.js index 954202d0a1..208a2a387d 100644 --- a/chrome/chromeFiles/content/scholar/collectionTreeView.js +++ b/chrome/chromeFiles/content/scholar/collectionTreeView.js @@ -81,27 +81,20 @@ Scholar.CollectionTreeView.prototype.notify = function(action, type, ids) this._treebox.invalidate(); this._treebox.endUpdateBatch(); } - else + else if(action == 'modify') { - ids = Scholar.flattenArguments(ids); - for (var i=0, len=ids.length; i