* Calendar - Fix right click -> add gave error instead of popup

This commit is contained in:
nathangray 2018-02-05 09:40:23 -07:00
parent 419b1656fb
commit 965f5b5527

View File

@ -1425,7 +1425,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
var id = _events[0].id.split('::');
var app = id[0];
var app_id = id[1];
if(app_id.indexOf(':'))
if(app_id && app_id.indexOf(':'))
{
var split = id[1].split(':');
id = split[0];