Remove unused vars and methods
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / controller / dictionaryController / attributeDictController.js
index 4ca3b22..663e2af 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP Policy Engine
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -55,7 +55,6 @@ app.controller('editAttributeController' ,function ($scope, $modalInstance, mess
        if(!regex.test(attributeDictionaryData.xacmlId)) {
                Notification.error("Enter Valid Attribute Name without spaces or special characters");
        }else{
-               var finalData = extend(attributeDictionaryData, $scope.attributeDatas[0]);
                var uuu =  "saveDictionary/attribute_dictionary/save_attribute";
                var postData={attributeDictionaryData: attributeDictionaryData, userid: userid};
                $.ajax({
@@ -101,4 +100,4 @@ app.controller('editAttributeController' ,function ($scope, $modalInstance, mess
     $scope.close = function() {
         $modalInstance.close();
     };
-});
\ No newline at end of file
+});