forked from 0x2620/pandora
16 lines
369 B
JavaScript
16 lines
369 B
JavaScript
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
|
pandora.ui.backButton = function() {
|
|
var that = Ox.Button({
|
|
title: 'Back to ' + pandora.site.itemName.plural,
|
|
width: 96
|
|
}).css({
|
|
float: 'left',
|
|
margin: '4px'
|
|
})
|
|
.bindEvent({
|
|
click: function() {
|
|
pandora.UI.set({item: ''});
|
|
}
|
|
});
|
|
return that;
|
|
};
|