pandora/static/js/pandora/folderBrowser.js
2011-11-05 18:04:10 +01:00

18 lines
447 B
JavaScript

// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
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;
};