some work towards making places and events editable from annotations panel (#561)
This commit is contained in:
parent
4008f2e04f
commit
202d11177b
2 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue