diff options
Diffstat (limited to 'ecomp-portal-widget-ms/common-widgets/events-widget/js')
-rw-r--r-- | ecomp-portal-widget-ms/common-widgets/events-widget/js/controller.js | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/ecomp-portal-widget-ms/common-widgets/events-widget/js/controller.js b/ecomp-portal-widget-ms/common-widgets/events-widget/js/controller.js index 8ccebeee..3298432b 100644 --- a/ecomp-portal-widget-ms/common-widgets/events-widget/js/controller.js +++ b/ecomp-portal-widget-ms/common-widgets/events-widget/js/controller.js @@ -15,27 +15,7 @@ function EventsCtrl($rootScope, applicationsService , $log, $scope.editData = JSON.stringify(availableData); $scope.availableDataTemp = $scope.availableData; - ngDialog.open({ - templateUrl : 'app/views/dashboard/dashboard-widget-manage.html', - controller : 'CommonWidgetController', - resolve : { - message : function message() { - var message = { - type : resourceType, - availableData : $scope.editData - }; - return message; - } - } - }).closePromise.then(needUpdate => { - if(resourceType=='NEWS'){ - $scope.updateNews(); - }else if(resourceType=='EVENTS'){ - $scope.updateEvents(); - }else if(resourceType=='IMPORTANTRESOURCES'){ - $scope.updateImportRes(); - } - }); + }; /*Setting News data*/ $scope.eventData = []; |