diff --git a/calendar/js/app.js b/calendar/js/app.js index 8d74a40111..d66702346d 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -51,7 +51,7 @@ function cal_fix_app_id(_action, _senders) function cal_open(_action, _senders) { var id = _senders[0].id; - var matches = id.match(/^([0-9]+):([0-9]+)$/); + var matches = id.match(/^(?:calendar::)?([0-9]+):([0-9]+)$/); var backup = _action.data; if (matches) { @@ -79,7 +79,7 @@ function cal_open(_action, _senders) } } console.log(_action); - nm_action(_action, _senders); + nm_action(_action, _senders, null, {ids: []}); _action.data = backup; // restore url, width, height, nm_action -} \ No newline at end of file +}