Merge pull request #2083 from Eyescream/#U4-5139
U4-5139 Error uploading a file when filename contains comma
This commit is contained in:
@@ -118,7 +118,7 @@ function fileUploadController($scope, $element, $compile, imageHelper, fileManag
|
||||
for (var i = 0; i < args.files.length; i++) {
|
||||
//save the file object to the scope's files collection
|
||||
$scope.files.push({ alias: $scope.model.alias, file: args.files[i] });
|
||||
newVal += args.files[i].name + ",";
|
||||
newVal += args.files[i].name.replace(',','-') + ",";
|
||||
}
|
||||
|
||||
//this is required to re-validate
|
||||
|
||||
Reference in New Issue
Block a user