diff --git a/chrome/chromeFiles/content/scholar/itemTreeView.js b/chrome/chromeFiles/content/scholar/itemTreeView.js index 3a4e48df2e..fbf9933699 100644 --- a/chrome/chromeFiles/content/scholar/itemTreeView.js +++ b/chrome/chromeFiles/content/scholar/itemTreeView.js @@ -100,8 +100,11 @@ Scholar.ItemTreeView.prototype.deleteSelection = function() this._treebox.beginUpdateBatch(); for (var i=0; i - + diff --git a/chrome/chromeFiles/content/scholar/organizeWindow.js b/chrome/chromeFiles/content/scholar/organizeWindow.js deleted file mode 100644 index 1fb45ce511..0000000000 --- a/chrome/chromeFiles/content/scholar/organizeWindow.js +++ /dev/null @@ -1,108 +0,0 @@ -var foldersView; -var itemsView; -var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService); - -function init() -{ - foldersView = new Scholar.TreeView(0); //pass params here? - document.getElementById('folders-tree').view = foldersView; - itemsView = new Scholar.ItemTreeView(0); - document.getElementById('items-tree').view = itemsView; - - var addMenu = document.getElementById('tb-add').firstChild; - var itemTypes = Scholar.ItemTypes.getTypes(); - for(var i = 0; i 0 && confirm("Are you sure you want to delete the selected items?")) - itemsView.deleteSelection(); -} - -function search() -{ - //TO DO: reload items tree with a search instead of a root folder - alert(document.getElementById('tb-search').value); -} \ No newline at end of file diff --git a/chrome/chromeFiles/content/scholar/organizeWindow.xul b/chrome/chromeFiles/content/scholar/organizeWindow.xul deleted file mode 100644 index 03118dc204..0000000000 --- a/chrome/chromeFiles/content/scholar/organizeWindow.xul +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - -