dont use new Ox.
This commit is contained in:
parent
0b8b0a6b20
commit
06bea0b116
32 changed files with 140 additions and 140 deletions
|
|
@ -2,9 +2,9 @@
|
|||
pandora.ui.placesDialog = function() {
|
||||
var height = Math.round(window.innerHeight * 0.9),
|
||||
width = Math.round(window.innerWidth * 0.9),
|
||||
that = new Ox.Dialog({
|
||||
that = Ox.Dialog({
|
||||
buttons: [
|
||||
new Ox.Button({
|
||||
Ox.Button({
|
||||
id: 'done',
|
||||
title: 'Done'
|
||||
}).bindEvent({
|
||||
|
|
@ -13,7 +13,7 @@ pandora.ui.placesDialog = function() {
|
|||
}
|
||||
})
|
||||
],
|
||||
content: pandora.$ui.placesElement = new Ox.ListMap({
|
||||
content: pandora.$ui.placesElement = Ox.ListMap({
|
||||
height: height - 48,
|
||||
places: function(data, callback) {
|
||||
return pandora.api.findPlaces($.extend({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue