function containerstart(container){
  $("#wheel").show();
  data = {'name': container, 'action': 'start'};
  $.ajax({  
       type: "POST",
        url: '/containeraction',
        data: data,
        success: function(data) {
            $("#wheel").hide();
            if (data.result == 'success') {
                $('.top-right').notify({message: { text: "Container "+container+" Started!!!" }, type: 'success'}).show(); 
            } else {
                $('.top-right').notify({message: { text: "Container "+container+" Failed to Start" }, type: 'danger'}).show(); 
            };
		}
	});
}

function containerstop(container){
  $("#wheel").show();
  data = {'name': container, 'action': 'stop'};
  $.ajax({  
       type: "POST",
        url: '/containeraction',
        data: data,
        success: function(data) {
            $("#wheel").hide();
            if (data.result == 'success') {
                $('.top-right').notify({message: { text: "Container "+container+" Stopped!!!" }, type: 'success'}).show(); 
            } else {
                $('.top-right').notify({message: { text: "Container "+container+" Failed to Stop" }, type: 'danger'}).show(); 
            };
		}
	});
}

function containerdelete(container){
  $("#wheel").show();
  data = {'name': container, 'action': 'delete'};
  $.ajax({
       type: "POST",
        url: '/containeraction',
        data: data,
        success: function(data) {
            $("#wheel").hide();
            if (data == '0') {
                $('.top-right').notify({message: { text: "Container "+container+" Deleted!!!" }, type: 'success'}).show();
            } else {
                $('.top-right').notify({message: { text: "Container "+container+" Failed to Delete" }, type: 'danger'}).show();
            };
        }
    });
}

@@ -1482,14 +1482,27 @@
 data
- == '0
+.result == 'success
 ') %7B
@@ -1744,17 +1744,38 @@
 o Delete
-%22
+ because %22+data.reason
  %7D, type

Fix UI container delete javascript