pandora/static/js/pandora/folderBrowser.js

18 lines
433 B
JavaScript
Raw Normal View History

2011-07-29 18:37:11 +00:00
// vim: et:ts=4:sw=4:sts=4:ft=javascript
2011-05-25 19:42:45 +00:00
pandora.ui.folderBrowser = function(id) {
2011-06-19 17:49:25 +00:00
var that = Ox.SplitPanel({
2011-05-25 19:42:45 +00:00
elements: [
{
2011-09-01 07:00:35 +00:00
element: pandora.ui.folderBrowserBar(id),
2011-05-25 19:42:45 +00:00
size: 24
},
{
2011-06-06 15:48:11 +00:00
element: pandora.$ui.folderList[id] = pandora.ui.folderBrowserList(id)
2011-05-25 19:42:45 +00:00
}
],
orientation: 'vertical'
});
return that;
};