From 89949042c3a27bb6f5bb69e51d3f5149b42c9829 Mon Sep 17 00:00:00 2001 From: David Norton Date: Fri, 24 Feb 2006 17:51:16 +0000 Subject: [PATCH] Forgot to add the sidebar.js file before. :-) --- chrome/chromeFiles/content/scholar/sidebar.js | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 chrome/chromeFiles/content/scholar/sidebar.js diff --git a/chrome/chromeFiles/content/scholar/sidebar.js b/chrome/chromeFiles/content/scholar/sidebar.js new file mode 100644 index 000000000..0b8136fc6 --- /dev/null +++ b/chrome/chromeFiles/content/scholar/sidebar.js @@ -0,0 +1,21 @@ +var treeView = { + rowCount : 100, + getCellText : function(row,column){ + if (column.id == "title_column") return "Row "+row; + else return "February 18"; + }, + setTree: function(treebox){ this.treebox = treebox; }, + isContainer: function(row){ return false; }, + isSeparator: function(row){ return false; }, + isSorted: function(){ return false; }, + getLevel: function(row){ return 0; }, + getImageSrc: function(row,col){ return null; }, + getRowProperties: function(row,props){}, + getCellProperties: function(row,col,props){}, + getColumnProperties: function(colid,col,props){} +}; + +function setView() +{ + document.getElementById('scholar-sidebar-items').view=treeView; +} \ No newline at end of file