1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-21 18:47:39 +00:00

Code Cosmetics

This commit is contained in:
Ozzieisaacs
2019-03-05 16:31:09 +01:00
parent 6269a83c3d
commit 466af21548
3 changed files with 27 additions and 26 deletions

View File

@@ -27,15 +27,15 @@ $(function() {
async: true,
timeout: 900,
success:function(data){
$('#domain-table').bootstrapTable("load", data);
$("#domain-table").bootstrapTable("load", data);
}
});
});
$("#domain-table").bootstrapTable({
formatNoMatches: function () {
return "";
},
striped: false
},
striped: false
});
$("#btndeletedomain").click(function() {
//get data-id attribute of the clicked element
@@ -51,7 +51,7 @@ $(function() {
url: window.location.pathname + "/../../ajax/domainlist",
async: true,
timeout: 900,
success:function(data){
success:function(data) {
$("#domain-table").bootstrapTable("load", data);
}
});
@@ -65,11 +65,11 @@ $(function() {
});
});
function TableActions (value, row, index) {
/*function TableActions (value, row, index) {
return [
"<a class=\"danger remove\" data-toggle=\"modal\" data-target=\"#DeleteDomain\" data-domain-id=\"" + row.id
+ "\" title=\"Remove\">",
"<i class=\"glyphicon glyphicon-trash\"></i>",
"</a>"
].join("");
}
}*/