removing all debuggers
This commit is contained in:
		
							parent
							
								
									f68e126a3b
								
							
						
					
					
						commit
						763c14e77d
					
				@ -204,7 +204,6 @@ app.controller('websiteCtrl', [
 | 
			
		||||
    });
 | 
			
		||||
  };
 | 
			
		||||
  vm._uploadFile = function (pkg, opts) {
 | 
			
		||||
    debugger;
 | 
			
		||||
    vm.newFileUploaded = opts.newFile.name;
 | 
			
		||||
    opts.progress = opts.progress || opts;
 | 
			
		||||
    return pkg.add({
 | 
			
		||||
@ -225,7 +224,6 @@ app.controller('websiteCtrl', [
 | 
			
		||||
    , strip: opts.stripZip
 | 
			
		||||
    , path: opts.uploadPath
 | 
			
		||||
    }).then(function (result) {
 | 
			
		||||
      debugger;
 | 
			
		||||
      if (result.data.error) {
 | 
			
		||||
        var msg = vm.newFileUploaded + " has encountered an error. " + result.data.error.message + '.';
 | 
			
		||||
      } else {
 | 
			
		||||
@ -490,7 +488,6 @@ app.controller('websiteCtrl', [
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    requestedPath = cleanPathQuery(requestedPath);
 | 
			
		||||
    debugger;
 | 
			
		||||
    opts = {
 | 
			
		||||
      path: requestedPath
 | 
			
		||||
    };
 | 
			
		||||
@ -498,7 +495,6 @@ app.controller('websiteCtrl', [
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  vm.Sites.remove = function (r, opts) {
 | 
			
		||||
    debugger;
 | 
			
		||||
    if (!window.confirm("Delete files for this site?")) {
 | 
			
		||||
      return;
 | 
			
		||||
    }
 | 
			
		||||
@ -577,28 +573,22 @@ app.controller('websiteCtrl', [
 | 
			
		||||
      r.uploadPath = vm.cleanedPath;
 | 
			
		||||
    } else {
 | 
			
		||||
      if (!Array.isArray(vm.breadcrumbsPath)) {
 | 
			
		||||
        debugger;
 | 
			
		||||
        vm.breadcrumbsPath = vm.breadcrumbsPath.split('/');
 | 
			
		||||
        vm.breadcrumbsPath.pop();
 | 
			
		||||
      } else {
 | 
			
		||||
        if (vm.breadcrumbsPath[0] !== '') {
 | 
			
		||||
          if (r.shareAccess.path !== '/') {
 | 
			
		||||
            r.uploadPath = r.shareAccess.path;
 | 
			
		||||
            debugger;
 | 
			
		||||
          } else {
 | 
			
		||||
            r.uploadPath = r.shareAccess.path;
 | 
			
		||||
            debugger;
 | 
			
		||||
          }
 | 
			
		||||
          vm.breadcrumbsPath.unshift('');
 | 
			
		||||
          debugger;
 | 
			
		||||
        }
 | 
			
		||||
        debugger;
 | 
			
		||||
      }
 | 
			
		||||
      if (vm.breadcrumbsPath.join('/') === '') {
 | 
			
		||||
      } else {
 | 
			
		||||
        r.uploadPath = vm.breadcrumbsPath.join('/') + '/';
 | 
			
		||||
        r.uploadPath = cleanPathQuery(r.uploadPath);
 | 
			
		||||
        debugger;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    vm._uploadFile(pkg, r);
 | 
			
		||||
@ -606,7 +596,6 @@ app.controller('websiteCtrl', [
 | 
			
		||||
 | 
			
		||||
  vm.Shares = {};
 | 
			
		||||
  vm.Shares.invite = function (r, opts) {
 | 
			
		||||
    debugger;
 | 
			
		||||
    var pkg = Auth.oauth3.pkg('www@daplie.com');
 | 
			
		||||
    return pkg.invite({
 | 
			
		||||
      comment: r.shareEmail
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user