summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-common/client/app/views/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE-common/client/app/views/dashboard')
-rw-r--r--ecomp-portal-FE-common/client/app/views/dashboard/dashboard-widget.controller.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ecomp-portal-FE-common/client/app/views/dashboard/dashboard-widget.controller.js b/ecomp-portal-FE-common/client/app/views/dashboard/dashboard-widget.controller.js
index aff4e0c1..7767cdbb 100644
--- a/ecomp-portal-FE-common/client/app/views/dashboard/dashboard-widget.controller.js
+++ b/ecomp-portal-FE-common/client/app/views/dashboard/dashboard-widget.controller.js
@@ -132,8 +132,7 @@
dashboardService.saveCommonWidgetData($scope.newWidgetObject)
.then(function(res){
- if (res.status == 'OK') {
- $scope.widgetForm.$setPristine();
+ if (res.status == 'OK') {
confirmBoxService.showInformation('You have added a new item').then(isConfirmed => {
});
dashboardService.getCommonWidgetData(message.type)