Resolved Policy GUI Issues
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / policy-models / Editor / PolicyTemplateController / ClosedLoopPMController.js
index c81f465..caec13f 100644 (file)
@@ -35,6 +35,15 @@ angular.module("abs").controller('clPMController', ['$scope', '$window', '$timeo
          $scope.modal = function(id, hide) {
              return $('#' + id).modal(hide ? 'hide' : 'show');
          };
+         
+         $('#ttlDate').datepicker({
+                 dateFormat: 'dd/mm/yy',
+                 changeMonth: true,
+                 changeYear: true,
+                 onSelect: function(date) {
+                         angular.element($('#ttlDate')).triggerHandler('input');
+                 }
+         });
         
         PolicyAppService.getData('getDictionary/get_OnapNameDataByName').then(function (data) {
                 var j = data;