pandora/static/js/pandora/sectionSelect.js
2011-12-22 07:27:48 +00:00

22 lines
600 B
JavaScript

// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.ui.sectionSelect = function() {
// fixme: duplicated
var that = Ox.Select({
id: 'sectionSelect',
items: [
{id: 'items', title: pandora.site.itemName.plural},
{id: 'edits', title: 'Edits', disabled: true},
{id: 'texts', title: 'Texts', disabled: true}
],
value: pandora.user.ui.section
}).css({
float: 'left',
margin: '4px'
})
.bindEvent({
});
return that;
};