use new dialog

This commit is contained in:
rlx 2011-08-17 11:39:55 +00:00
commit 5053fc5c4c
5 changed files with 94 additions and 60 deletions

View file

@ -688,14 +688,16 @@ pandora.ui.mainMenu = function() {
})
],
content: Ox.Element()
.css({padding: '16px'})
.html([
'Query: ' + JSON.stringify(pandora.Query.toObject()),
'findQuery: ' + JSON.stringify(pandora.user.ui.findQuery),
'listQuery: ' + JSON.stringify(pandora.user.ui.listQuery)
].join('<br/><br/>')),
height: 200,
height: 192,
keys: {enter: 'close', escape: 'close'},
width: 400
title: 'Query',
width: 384
}).open();
} else if (data.id == 'resetui') {
pandora.api.resetUI({}, function() {