dummy treeview

bzr revid: al@openerp.com-20110511152548-ayesmkxgwzc0q9ef
This commit is contained in:
Antony Lesuisse 2011-05-11 17:25:48 +02:00
parent b76e1fab11
commit 2397f09340
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
/*---------------------------------------------------------
* OpenERP base library
*---------------------------------------------------------*/
openerp.base.view_tree = function(openerp) {
openerp.base.views.add('tree', 'openerp.base.TreeView');
openerp.base.TreeView = openerp.base.Controller.extend({
/**
* Genuine tree view (the one displayed as a tree, not the list)
*/
start: function () {
this._super();
this.$element.append('Tree view');
},
do_show: function () {
this.$element.show();
},
do_hide: function () {
this.$element.hide();
}
});
};
// vim:et fdc=0 fdl=0 foldnestmax=3 fdm=syntax: