From: minfanyang Date: Mon, 27 Aug 2018 09:56:37 +0000 (+0800) Subject: Added jquery resource X-Git-Tag: 1.2.0~18^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=holmes%2Frule-management.git;a=commitdiff_plain;h=refs%2Fchanges%2F29%2F63029%2F1 Added jquery resource Change-Id: I28bc5cce49c7373991cc37d87f821301996dd526 Issue-ID: HOLMES-163 Signed-off-by: minfanyang --- diff --git a/rulemgt-frontend/.angular-cli.json b/rulemgt-frontend/.angular-cli.json index 5da3c0f..e18a89f 100644 --- a/rulemgt-frontend/.angular-cli.json +++ b/rulemgt-frontend/.angular-cli.json @@ -27,6 +27,7 @@ "assets/framework/browser/thirdparty/css/magic-check.css" ], "scripts": [ + "../node_modules/jquery/dist/jquery.js", "assets/common/js/jQuery-File-Upload/js/jquery.ui.widget.js", "assets/common/js/jQuery-File-Upload/js/vendor/jquery.ui.widget.js", "assets/common/js/jQuery-File-Upload/js/jquery.iframe-transport.js", diff --git a/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts b/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts index fa69e3c..a8a4c07 100644 --- a/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts +++ b/rulemgt-frontend/src/app/correlation-ruleList/alarmRule.component.ts @@ -20,8 +20,6 @@ import {RuleRequest} from './ruleRequest'; import {Router} from '@angular/router'; import {AlarmRuleService} from './alarmRule.service'; -declare var jQuery: any; - @Component({ selector: 'alarmRule', templateUrl: './alarmRule.component.html',