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