use new dialog
This commit is contained in:
parent
3b00b384f2
commit
bd88297eb9
5 changed files with 94 additions and 60 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
pandora.ui.placesDialog = function() {
|
||||
var height = Math.round(window.innerHeight * 0.9),
|
||||
var height = Math.round((window.innerHeight - 48) * 0.9),
|
||||
width = Math.round(window.innerWidth * 0.9),
|
||||
that = Ox.Dialog({
|
||||
buttons: [
|
||||
|
|
@ -13,6 +13,7 @@ pandora.ui.placesDialog = function() {
|
|||
}
|
||||
})
|
||||
],
|
||||
closeButton: true,
|
||||
content: pandora.$ui.placesElement = Ox.ListMap({
|
||||
height: height - 48,
|
||||
places: function(data, callback) {
|
||||
|
|
@ -43,6 +44,9 @@ pandora.ui.placesDialog = function() {
|
|||
width: width
|
||||
}),
|
||||
height: height,
|
||||
maximizeButton: true,
|
||||
minHeight: 256,
|
||||
minWidth: 512,
|
||||
//keys: {enter: 'done', escape: 'done'},
|
||||
padding: 0,
|
||||
title: 'Manage Places',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue