dont use new Ox.

This commit is contained in:
j 2011-06-19 19:49:25 +02:00
commit 06bea0b116
32 changed files with 140 additions and 140 deletions

View file

@ -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({