pandora/static/js/publicLists.js

27 lines
659 B
JavaScript
Raw Normal View History

2011-07-29 18:37:11 +00:00
// vim: et:ts=4:sw=4:sts=4:ft=javascript
2011-11-05 17:04:10 +00:00
'use strict';
2011-05-25 19:42:45 +00:00
pandora.ui.publicListsDialog = function() { // fixme: unused
2011-06-19 17:49:25 +00:00
var that = Ox.Dialog({
2011-05-25 19:42:45 +00:00
buttons: [
2011-06-19 17:49:25 +00:00
Ox.Button({
2011-05-25 19:42:45 +00:00
id: 'done',
2013-05-09 10:13:58 +00:00
title: Ox._('Done')
2011-05-25 19:42:45 +00:00
}).bindEvent({
click: function() {
that.close();
}
})
],
content: pandora.ui.publicListsList(),
height: 320,
keys: {enter: 'close', escape: 'close'},
padding: 0,
2013-05-09 10:13:58 +00:00
title: Ox._('Public Lists'),
2011-05-25 19:42:45 +00:00
width: 420
})
.css({
position: 'absolute'
});
return that;
};