case 'sequence':
return 0 == _.where($scope.caseType.definition.activitySets, {sequence: '1'}).length;
default:
- if (console && console.log) console.log('Denied access to unrecognized workflow: (' + workflow + ')');
+ CRM.console('warn', 'Denied access to unrecognized workflow: (' + workflow + ')');
return false;
}
};
};
});
-})(angular, CRM.$, CRM._);
\ No newline at end of file
+})(angular, CRM.$, CRM._);