Commit 16156ae7e66e2950187e9d1883fd0398ec5d735a

Authored by apple
1 parent c70ffa5acc
Exists in master and in 1 other branch paytm

minor change

Showing 1 changed file with 17 additions and 17 deletions   Show diff stats
... ... @@ -721,24 +721,24 @@
721 721 }
722 722 var file =document.getElementById('filePicker').files[0];
723 723 console.log("file",filePicker)
724   - var image = BASE_URL+'/containers/applicants/download/'
725   - console.log("file",image)
726   - var imagePath = filePicker.name;
727   - $scope.data.uploadFile = image + imagePath;
728   - var fd = new FormData()
729   - fd.append('filePicker',data);
  724 + // var image = BASE_URL+'/containers/applicants/download/'
  725 + // console.log("file",image)
  726 + // var imagePath = filePicker.name;
  727 + // $scope.data.uploadFile = image + imagePath;
  728 + // var fd = new FormData()
  729 + // fd.append('filePicker',data);
730 730  
731   - var deferred = $q.defer();
732   - $http({
733   - method:'POST',
734   - url: BASE_URL+'/containers/applicants/upload',
735   - data:fd,
736   - transformRequest:angular.identity,
737   - headers:{'Content-Type':undefined}
738   - })
739   - .success(function(result){
740   - deferred.resolve(result);
741   - })
  731 + // var deferred = $q.defer();
  732 + // $http({
  733 + // method:'POST',
  734 + // url: BASE_URL+'/containers/applicants/upload',
  735 + // data:fd,
  736 + // transformRequest:angular.identity,
  737 + // headers:{'Content-Type':undefined}
  738 + // })
  739 + // .success(function(result){
  740 + // deferred.resolve(result);
  741 + // })
742 742  
743 743 $http({
744 744 method: 'POST',
... ...