some work towards making places and events editable from annotations panel (#561)

This commit is contained in:
rlx 2012-02-21 10:10:39 +00:00
parent 4008f2e04f
commit 202d11177b
2 changed files with 2 additions and 1 deletions

View file

@ -269,6 +269,7 @@ Ox.ListCalendar = function(options, self) {
return !!event.type;
}),
height: self.options.height,
selected: self.options.selected,
showControls: self.options.showControls,
showToolbar: true,
showZoombar: true,

View file

@ -288,7 +288,7 @@ Ox.AnnotationPanel = function(options, self) {
});
} else if (data.id == 'manage') {
that.triggerEvent('define', {
id: self.options.selected,
id: getAnnotation(self.options.selected)[type].id,
type: type
});
} else if (data.id == 'save') {