Commit 1c0a337d authored by Caleb Weeks's avatar Caleb Weeks

null check on slingData added

parent 92a7767a
......@@ -271,8 +271,8 @@ module.exports.process=function(data,$,cb){
var mapping=blMapRender(blMaps, slingData['sling:resourceType']);
var annotations = annotationsRender(slingData, slingPath);
var mapping=slingData ? blMapRender(blMaps, slingData['sling:resourceType']) : '';
var annotations = slingData ? annotationsRender(slingData, slingPath) : '';
var dialogContent = $.template({body:dialogBody, mapping, annotations, lock:inheritFrom?true:false, widgetConfigs:configs, dialogConfig: dialogConfig, title: dialogConfig.title, blMaps: blMaps});
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment