blah
This commit is contained in:
		
							parent
							
								
									58537e1d16
								
							
						
					
					
						commit
						d9056b2cb7
					
				| @ -346,6 +346,7 @@ app.controller('websiteCtrl', [ | ||||
|     }); | ||||
|   }; | ||||
|   vm.Sites.remove = function (r, opts) { | ||||
|     debugger; | ||||
|     if (!window.confirm("Delete files for this site?")) { | ||||
|       return; | ||||
|     } | ||||
|  | ||||
| @ -16,7 +16,7 @@ | ||||
|       </ul> | ||||
|       <ul class="tree files-only ls-none"> | ||||
|         <li ng-repeat="file in vm.siteFiles track by $index"> | ||||
|           <span class="tree_label filez">{{ file }}</span><span class="pull-right"><button type="button" class="btn btn-danger btn-xs"><i class="fa fa-trash"></i></button></span> | ||||
|           <span class="tree_label filez">{{ file }}</span><span class="pull-right"><button type="button" class="btn btn-danger btn-xs" ng-click="vm.Sites.remove(file)" data="{{ file }}"><i class="fa fa-trash"></i></button></span> | ||||
|         </li> | ||||
|         <li class="move-back"> | ||||
|           <a ng-click="vm.showUploadContainer = true;"><i class="fa fa-plus"></i> Add Files</a> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user