1
0
Fork 0
forked from 0x2620/oxjs

in annotation panel, make links to define/edit places/events work (fixes #561)

This commit is contained in:
rlx 2012-02-21 11:20:03 +00:00
commit db6f68681a
3 changed files with 57 additions and 39 deletions

View file

@ -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(),