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;
|
return !!event.type;
|
||||||
}),
|
}),
|
||||||
height: self.options.height,
|
height: self.options.height,
|
||||||
|
selected: self.options.selected,
|
||||||
showControls: self.options.showControls,
|
showControls: self.options.showControls,
|
||||||
showToolbar: true,
|
showToolbar: true,
|
||||||
showZoombar: true,
|
showZoombar: true,
|
||||||
|
|
|
@ -288,7 +288,7 @@ Ox.AnnotationPanel = function(options, self) {
|
||||||
});
|
});
|
||||||
} else if (data.id == 'manage') {
|
} else if (data.id == 'manage') {
|
||||||
that.triggerEvent('define', {
|
that.triggerEvent('define', {
|
||||||
id: self.options.selected,
|
id: getAnnotation(self.options.selected)[type].id,
|
||||||
type: type
|
type: type
|
||||||
});
|
});
|
||||||
} else if (data.id == 'save') {
|
} else if (data.id == 'save') {
|
||||||
|
|
Loading…
Reference in a new issue