MariaDB Connector and Sonar Scans; clean nl
[portal.git] / ecomp-portal-FE-common / client / app / views / dashboard / dashboard-widget.controller.js
index aff4e0c..7767cdb 100644 (file)
 
                        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)