Merge pull request #4297 from colemanw/CRM-15412
[civicrm-core.git] / js / angular-crmCaseType.js
index ea2ca50d48740ca70393d3534a642bf7b76ba7be..c7cfd6570e7fc53f02820168510ee921705eb801 100644 (file)
         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._);