commit 89949042c3a27bb6f5bb69e51d3f5149b42c9829
parent b0e5715c17570f558b8cb6fae57decac32892d39
Author: David Norton <david@nortoncrew.com>
Date: Fri, 24 Feb 2006 17:51:16 +0000
Forgot to add the sidebar.js file before. :-)
Diffstat:
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/chrome/chromeFiles/content/scholar/sidebar.js 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