pandora/static/js/pandora/folderBrowser.js
2011-10-23 04:29:20 +02:00

17 lines
433 B
JavaScript

// vim: et:ts=4:sw=4:sts=4:ft=javascript
pandora.ui.folderBrowser = function(id) {
var that = Ox.SplitPanel({
elements: [
{
element: pandora.ui.folderBrowserBar(id),
size: 24
},
{
element: pandora.$ui.folderList[id] = pandora.ui.folderBrowserList(id)
}
],
orientation: 'vertical'
});
return that;
};