Académique Documents
Professionnel Documents
Culture Documents
//$scope.saveNewExportJob = function () {
// $scope.loading = true;
// services.saveNewExportJob({ action: 'SaveNewExportJob' }, { Name:
$scope.newExportJobName }, function () {
// toaster.success(shared.toasterTitle, "New Export Job Created
Successfully!");
// $scope.getAllExportJobs();
// $scope.loading = false;
// $scope.isJobSelected = false;
// }, function (response) {
// $scope.loading = false;
// toaster.error(shared.toasterTitle, response.data.error);
// });
//};
debugger;
//if ($scope.configuration.name == null ||
$scope.configuration.name.length <= 0) {
// toaster.warning(shared.toasterTitle, "Please enter Export Job
Name!");
//}
if ($scope.configuration.connectionString == null ||
$scope.configuration.connectionString.length <= 0) {
toaster.warning(shared.toasterTitle, "Please select Database
from the list!");
}
//else if ($scope.configuration.timeout == null ||
$scope.configuration.timeout == 0) {
// toaster.warning(shared.toasterTitle, "Please enter timeout
value");
//}
else if ($scope.configuration.fileType == null ||
$scope.configuration.fileType.length <= 0) {
toaster.warning(shared.toasterTitle, "Please select file
type!");
}
else {}