Function to delete relation from recurringentity, xml path correction for ajax calls
[civicrm-core.git] / js / angular-crmCaseType.js
index bc329bcd5b5ba0495697048ebbb4411e5f3868dd..c7cfd6570e7fc53f02820168510ee921705eb801 100644 (file)
     weight: "1",
     definition: {
       activityTypes: [
-        {name: 'Open Case', max_instances: 1 }
+        {name: 'Open Case', max_instances: 1},
+        {name: 'Email'},
+        {name: 'Follow up'},
+        {name: 'Meeting'},
+        {name: 'Phone Call'}
       ],
       activitySets: [
         {
         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._);