ability to delete file/folder
This commit is contained in:
		
							parent
							
								
									fdc993f7b3
								
							
						
					
					
						commit
						d530a898d6
					
				@ -380,7 +380,12 @@ app.controller('websiteCtrl', [
 | 
			
		||||
      }
 | 
			
		||||
    } else {
 | 
			
		||||
      confirmMessage = "Delete all items in this folder?";
 | 
			
		||||
      opts.path = vm.autoPopulateWebPath + path;
 | 
			
		||||
      if (vm.autoPopulateWebPath === undefined) {
 | 
			
		||||
        opts.path = path;
 | 
			
		||||
      } else {
 | 
			
		||||
        opts.path = vm.autoPopulateWebPath + path;
 | 
			
		||||
      }
 | 
			
		||||
      opts.confirm = true;
 | 
			
		||||
    }
 | 
			
		||||
    if (!window.confirm(confirmMessage)) {
 | 
			
		||||
      return;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user