diff --git a/static/js/pandora/eventsDialog.js b/static/js/pandora/eventsDialog.js index 7801296d..2c27ef20 100644 --- a/static/js/pandora/eventsDialog.js +++ b/static/js/pandora/eventsDialog.js @@ -78,7 +78,7 @@ pandora.ui.eventsDialog = function(options) { sort: [{key: 'name', operator: '+'}] }, function(result) { that.options({ - content: $content = Ox.ListCalendar({ + content: $content = Ox.CalendarEditor({ addEvent: function(event, callback) { pandora.api.addEvent(event, function(result) { Ox.Request.clearCache(); // fixme: remove diff --git a/static/js/pandora/placesDialog.js b/static/js/pandora/placesDialog.js index 93875aab..f164a094 100644 --- a/static/js/pandora/placesDialog.js +++ b/static/js/pandora/placesDialog.js @@ -6,7 +6,7 @@ pandora.ui.placesDialog = function(options) { // options can be {id: '...'} or {name: '...'} var height = Math.round((window.innerHeight - 48) * 0.9), width = Math.round(window.innerWidth * 0.9), - $content = Ox.ListMap({ + $content = Ox.MapEditor({ addPlace: function(place, callback) { pandora.api.addPlace(place, function(result) { Ox.Request.clearCache(); // fixme: remove