fix for reverting regular textareas

This commit is contained in:
jaredevantabor
2017-02-21 17:10:01 -08:00
parent aa1481b931
commit 331be6c803

View File

@@ -303,6 +303,9 @@ export default [
if($scope[key + '_field'].reset === "CUSTOM_LOGO"){ if($scope[key + '_field'].reset === "CUSTOM_LOGO"){
$scope.$broadcast(key+'_reverted'); $scope.$broadcast(key+'_reverted');
} }
if($scope[key + '_field'].type === "textarea" && _.isArray($scope.configDataResolve[key].default)){
$scope[key] = ConfigurationUtils.arrayToList($scope[key], key);
}
loginUpdate(); loginUpdate();
}) })
.catch(function(error) { .catch(function(error) {