Merge pull request #4781 from chrismeyersfsu/fix-4698

replace all instances of , with \n
This commit is contained in:
Chris Meyers 2017-01-18 09:54:40 -05:00 committed by GitHub
commit 942a3eb99d

View File

@ -94,7 +94,7 @@ export default ['Rest', 'Wait',
if (form.fields[fld].name === 'headers') {
$scope[fld] = JSON.stringify($scope[fld], null, 2);
} else {
$scope[fld] = $scope[fld].toString().replace(',', '\n');
$scope[fld] = $scope[fld].toString().replace(/,/g, '\n');
}
}
}