ListCalendar -> CalendarEditor; ListMap -> MapEditor
This commit is contained in:
parent
8cfbef2505
commit
a1c7b88f08
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ pandora.ui.eventsDialog = function(options) {
|
||||||
sort: [{key: 'name', operator: '+'}]
|
sort: [{key: 'name', operator: '+'}]
|
||||||
}, function(result) {
|
}, function(result) {
|
||||||
that.options({
|
that.options({
|
||||||
content: $content = Ox.ListCalendar({
|
content: $content = Ox.CalendarEditor({
|
||||||
addEvent: function(event, callback) {
|
addEvent: function(event, callback) {
|
||||||
pandora.api.addEvent(event, function(result) {
|
pandora.api.addEvent(event, function(result) {
|
||||||
Ox.Request.clearCache(); // fixme: remove
|
Ox.Request.clearCache(); // fixme: remove
|
||||||
|
|
|
@ -6,7 +6,7 @@ pandora.ui.placesDialog = function(options) {
|
||||||
// options can be {id: '...'} or {name: '...'}
|
// options can be {id: '...'} or {name: '...'}
|
||||||
var height = Math.round((window.innerHeight - 48) * 0.9),
|
var height = Math.round((window.innerHeight - 48) * 0.9),
|
||||||
width = Math.round(window.innerWidth * 0.9),
|
width = Math.round(window.innerWidth * 0.9),
|
||||||
$content = Ox.ListMap({
|
$content = Ox.MapEditor({
|
||||||
addPlace: function(place, callback) {
|
addPlace: function(place, callback) {
|
||||||
pandora.api.addPlace(place, function(result) {
|
pandora.api.addPlace(place, function(result) {
|
||||||
Ox.Request.clearCache(); // fixme: remove
|
Ox.Request.clearCache(); // fixme: remove
|
||||||
|
|
Loading…
Reference in a new issue