split up pandora.js
This commit is contained in:
parent
1e985ebf63
commit
88a976b12d
41 changed files with 4508 additions and 3931 deletions
16
static/js/pandora/ui/backButton.js
Normal file
16
static/js/pandora/ui/backButton.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=js
|
||||
pandora.ui.backButton = function() {
|
||||
var that = Ox.Button({
|
||||
title: 'Back to ' + app.config.itemName.plural,
|
||||
width: 96
|
||||
}).css({
|
||||
float: 'left',
|
||||
margin: '4px'
|
||||
})
|
||||
.bindEvent({
|
||||
click: function(event, data) {
|
||||
pandora.URL.set(pandora.Query.toString());
|
||||
}
|
||||
});
|
||||
return that;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue