2011-07-29 20:37:11 +02:00
|
|
|
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
2011-05-25 21:42:45 +02:00
|
|
|
pandora.ui.sectionbar = function(mode) {
|
2011-06-19 19:49:25 +02:00
|
|
|
var that = Ox.Bar({
|
2011-05-25 21:42:45 +02:00
|
|
|
size: 24
|
|
|
|
})
|
|
|
|
.append(
|
|
|
|
mode == 'buttons' ?
|
2011-06-06 17:48:11 +02:00
|
|
|
pandora.$ui.sectionButtons = pandora.ui.sectionButtons() :
|
|
|
|
pandora.$ui.sectionSelect = pandora.ui.sectionSelect()
|
2011-05-25 21:42:45 +02:00
|
|
|
);
|
|
|
|
that.toggle = function() {
|
|
|
|
|
|
|
|
};
|
|
|
|
return that;
|
|
|
|
};
|
|
|
|
|