Commit includes ControlLoopPolicy API and bugfixes
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / controller / dictionaryController / attributeDictController.js
index 5190916..db81da0 100644 (file)
@@ -27,7 +27,7 @@ app.controller('editAttributeController' ,function ($scope, $modalInstance, mess
         $scope.disableCd=true;
         var headers = message.attributeDictionaryData.attributeValue;
         var splitEqual = ',';
-        if(headers != null){
+        if(headers != null && headers != ""){
                if (headers.indexOf(splitEqual) >= 0) {
                        var splitValue = headers.split(splitEqual);
                        for(i = 0; i < splitValue.length; i++){