Fix ids for integrated apps in calendar list view

This commit is contained in:
Hadi Nategh 2013-11-04 10:23:08 +00:00
parent 1dd3ad5e0a
commit c53b5748a7

View File

@ -316,7 +316,7 @@ app.calendar = AppJS.extend(
{ {
var app = 'calendar'; var app = 'calendar';
var id = _senders[0].id; var id = _senders[0].id;
var matches = id.match(/^([0-9]+):([0-9]+)$/); var matches = id.match(/^(?:calendar::)?([0-9]+)(:([0-9]+))?$/);
if (matches) if (matches)
{ {
id = matches[1]; id = matches[1];