Calendar: Add cmd-click to deselect event (fixes #471)
This commit is contained in:
parent
8634476e48
commit
1d8119df4f
1 changed files with 5 additions and 1 deletions
|
@ -1178,7 +1178,11 @@ Ox.Calendar = function(options, self) {
|
|||
id = $target.data('id');
|
||||
if ($target.is('.OxLine > .OxEvent')) {
|
||||
if (id == self.options.selected) {
|
||||
panToSelected();
|
||||
if (data.metaKey) {
|
||||
selectEvent('');
|
||||
} else {
|
||||
panToSelected();
|
||||
}
|
||||
} else {
|
||||
selectEvent(id, $target);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue