[Kimchi-devel] [PATCH 8/8] Fixing minor issues at Admin Backup Batch Delete Modal
sguimaraes943 at gmail.com
sguimaraes943 at gmail.com
Fri Nov 27 19:47:57 UTC 2015
From: Andre Teodoro <andreteodoro.work at gmail.com>
Signed-off-by: Andre Teodoro <andreteodoro.work at gmail.com>
Signed-off-by: samhenri <samuel.guimaraes at eldorado.org.br>
---
ui/js/host-admin.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ui/js/host-admin.js b/ui/js/host-admin.js
index 56df1dc..f34fafd 100644
--- a/ui/js/host-admin.js
+++ b/ui/js/host-admin.js
@@ -131,8 +131,6 @@ ginger.initBatDelDialog = function() {
};
var delOption = $("input:radio[name=batDelType]:checked");
var delValue = $("input:text", delOption.parent()).prop("value");
- console.log('delOption', delOption);
- console.log('delValue', delValue);
content[delOption.val()] = parseInt(delValue);
ginger.deleteBackupArchives(content, function() {
$('#batDelDialog').modal('hide');
@@ -172,6 +170,7 @@ ginger.initBatDelDialog = function() {
};
ginger.setupBakGrid = function() {
+ $(".body", "#bakGridBody").remove();
ginger.listBackupArchives(function(data) {
for (var i = 0; i < data.length; i++) {
data[i].timestamp = new Date(data[i].timestamp * 1000).toLocaleString();
--
1.9.3
More information about the Kimchi-devel
mailing list