pandora/static/js/folderBrowser.js

19 lines
474 B
JavaScript
Raw Normal View History

2011-07-29 20:37:11 +02:00
// vim: et:ts=4:sw=4:sts=4:ft=javascript
2011-11-05 18:04:10 +01:00
'use strict';
2013-07-15 11:39:23 +00:00
pandora.ui.folderBrowser = function(id, section) {
2011-06-19 19:49:25 +02:00
var that = Ox.SplitPanel({
2011-05-25 21:42:45 +02:00
elements: [
{
2013-07-15 11:39:23 +00:00
element: pandora.ui.folderBrowserBar(id, section),
2011-05-25 21:42:45 +02:00
size: 24
},
{
2013-07-15 11:39:23 +00:00
element: pandora.$ui.folderList[id] = pandora.ui.folderBrowserList(id, section)
2011-05-25 21:42:45 +02:00
}
],
orientation: 'vertical'
});
return that;
};