mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-14 13:32:59 +01:00
🚑 Fix multiple upload
This commit is contained in:
parent
084af91620
commit
27bda4d1c6
@ -29,13 +29,15 @@ function updateDynamicListeners() {
|
||||
console.log(id);
|
||||
});
|
||||
let manual_back_list = $(".manual-back-list");
|
||||
manual_back_list.off();
|
||||
manual_back_list.unbind();
|
||||
manual_back_list.on("click", function () {
|
||||
let id = this.getAttribute("data-id");
|
||||
let name = this.getAttribute("data-name");
|
||||
manualBackup(id, name);
|
||||
});
|
||||
$(".restore").click(function () {
|
||||
let restore_btn = $(".restore");
|
||||
restore_btn.unbind();
|
||||
restore_btn.click(function () {
|
||||
let to_restore = this.getAttribute("data-id");
|
||||
console.log(to_restore);
|
||||
restore(to_restore);
|
||||
|
Loading…
Reference in New Issue
Block a user