forked from 0x2620/oxjs
in annotation panel, make links to define/edit places/events work (fixes #561)
This commit is contained in:
parent
202d11177b
commit
db6f68681a
3 changed files with 57 additions and 39 deletions
|
|
@ -269,7 +269,6 @@ Ox.ListCalendar = function(options, self) {
|
|||
return !!event.type;
|
||||
}),
|
||||
height: self.options.height,
|
||||
selected: self.options.selected,
|
||||
showControls: self.options.showControls,
|
||||
showToolbar: true,
|
||||
showZoombar: true,
|
||||
|
|
@ -544,6 +543,11 @@ Ox.ListCalendar = function(options, self) {
|
|||
.$element
|
||||
);
|
||||
|
||||
// if loaded with selection, set calendar and form
|
||||
self.options.selected && self.$list.triggerEvent({
|
||||
select: {ids: [self.options.selected]}
|
||||
});
|
||||
|
||||
function addEvent() {
|
||||
Ox.Log('Calendar', 'ADD', self.$calendar.getBounds())
|
||||
var bounds = self.$calendar.getBounds(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue