projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #10661 from jitendrapurohit/CRM-20507
[civicrm-core.git]
/
ang
/
crmStatusPage.js
diff --git
a/ang/crmStatusPage.js
b/ang/crmStatusPage.js
index 781dff7bdd8d327ee592af3c6089e9e8fb7a4d5e..b0db81a350bdb1f7fe09a37c4224ee90c461e205 100644
(file)
--- a/
ang/crmStatusPage.js
+++ b/
ang/crmStatusPage.js
@@
-1,11
+1,7
@@
(function(angular, $, _) {
(function(angular, $, _) {
- // Declare a list of dependencies.
- angular.module('statuspage', [
- 'crmUi', 'crmUtil', 'ngRoute'
- ]);
+ angular.module('statuspage', CRM.angRequires('statuspage'));
// router
// router
-
angular.module('statuspage').config( function($routeProvider) {
$routeProvider.when('/status', {
controller: 'statuspageStatusPage',
angular.module('statuspage').config( function($routeProvider) {
$routeProvider.when('/status', {
controller: 'statuspageStatusPage',
@@
-13,7
+9,7
@@
resolve: {
statusData: function(crmApi) {
resolve: {
statusData: function(crmApi) {
- return crmApi('System', 'check', {sequential: 1
, options: {limit: 0}
});
+ return crmApi('System', 'check', {sequential: 1});
}
}
});
}
}
});