From a1c7b88f082d8dee374aa82e91fbe16479a60cfc Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 5 Jun 2012 10:25:45 +0200 Subject: [PATCH] ListCalendar -> CalendarEditor; ListMap -> MapEditor --- static/js/pandora/eventsDialog.js | 2 +- static/js/pandora/placesDialog.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/eventsDialog.js b/static/js/pandora/eventsDialog.js index 7801296db..2c27ef200 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 93875aab8..f164a094e 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