2d2193959a82c64023e7bdf9ea04512ddf641067
1 (function (angular
, $, _
) {
3 angular
.module('crmCxn', [
4 'crmUtil', 'ngRoute', 'ngSanitize', 'ui.utils', 'crmUi', 'dialogService'
7 angular
.module('crmCxn').config([
9 function ($routeProvider
) {
10 $routeProvider
.when('/cxn', {
11 templateUrl
: '~/crmCxn/ManageCtrl.html',
12 controller
: 'CrmCxnManageCtrl',
14 apiCalls: function(crmApi
){
16 reqs
.cxns
= ['Cxn', 'get', {sequential
: 1}];
17 reqs
.appMetas
= ['CxnApp', 'get', {sequential
: 1, return: ['id', 'title', 'desc', 'appId', 'appUrl', 'perm']}];
18 reqs
.cfg
= ['Cxn', 'getcfg', {}];
19 reqs
.sysCheck
= ['System', 'check', {}]; // FIXME: filter on checkCxnOverrides
27 })(angular
, CRM
.$, CRM
._
);