Forgot to add the sidebar.js file before. :-)
This commit is contained in:
parent
b0e5715c17
commit
89949042c3
1 changed files with 21 additions and 0 deletions
21
chrome/chromeFiles/content/scholar/sidebar.js
Normal file
21
chrome/chromeFiles/content/scholar/sidebar.js
Normal file
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue