From b9a4dfbdb12fecd16d4ecc50501b4849aedda1b2 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 25 Jun 2019 09:37:01 -0400 Subject: [PATCH] Add checklist-model angular module --- Civi/Angular/Manager.php | 1 + ang/checklist-model.ang.php | 10 ++++++++++ bower.json | 3 ++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 ang/checklist-model.ang.php diff --git a/Civi/Angular/Manager.php b/Civi/Angular/Manager.php index 5d019a0318e4..4b4f1c888f5c 100644 --- a/Civi/Angular/Manager.php +++ b/Civi/Angular/Manager.php @@ -80,6 +80,7 @@ public function getModules() { $angularModules = []; $angularModules['angularFileUpload'] = include "$civicrm_root/ang/angularFileUpload.ang.php"; + $angularModules['checklist-model'] = include "$civicrm_root/ang/checklist-model.ang.php"; $angularModules['crmApp'] = include "$civicrm_root/ang/crmApp.ang.php"; $angularModules['crmAttachment'] = include "$civicrm_root/ang/crmAttachment.ang.php"; $angularModules['crmAutosave'] = include "$civicrm_root/ang/crmAutosave.ang.php"; diff --git a/ang/checklist-model.ang.php b/ang/checklist-model.ang.php new file mode 100644 index 000000000000..ffa8613bda5d --- /dev/null +++ b/ang/checklist-model.ang.php @@ -0,0 +1,10 @@ + 'civicrm', + 'basePages' => [], + 'js' => ['bower_components/checklist-model/checklist-model.js'], +]; diff --git a/bower.json b/bower.json index 80a5dbc3adee..61c9e7415aec 100644 --- a/bower.json +++ b/bower.json @@ -33,7 +33,8 @@ "smartmenus": "~1.1", "phantomjs-polyfill": "^0.0.2", "es6-promise": "^4.2.4", - "angular-xeditable": "^0.9.0" + "angular-xeditable": "^0.9.0", + "checklist-model": "~1" }, "resolutions": { "angular": "~1.5.11",