...
 
Commits (2)
......@@ -86,7 +86,7 @@
$scope.formProcessor.name = newFormProcessorTitle;
$scope.formProcessor.name = $scope.formProcessor.name.toLowerCase();
$scope.formProcessor.name = $scope.formProcessor.name.replace(/[^a-zA-Z\d]/g, '_');
$scope.formProcessor.name = $scope.formProcessor.name.replace(/_+n/g, '_');
$scope.formProcessor.name = $scope.formProcessor.name.replace(/_+/g, '_');
}
}, true);
......
......@@ -35,7 +35,7 @@
$scope.action.name = newTitle;
$scope.action.name = $scope.action.name.toLowerCase();
$scope.action.name = $scope.action.name.replace(/[^a-zA-Z\d]/g, '_');
$scope.action.name = $scope.action.name.replace(/_+n/g, '_');
$scope.action.name = $scope.action.name.replace(/_+/g, '_');
}
}, true);
......
......@@ -30,7 +30,7 @@
$scope.input.name = newTitle;
$scope.input.name = $scope.input.name.toLowerCase();
$scope.input.name = $scope.input.name.replace(/[^a-zA-Z\d]/g, '_');
$scope.input.name = $scope.input.name.replace(/_+n/g, '_');
$scope.input.name = $scope.input.name.replace(/_+/g, '_');
}
}, true);
......