Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Duplicati/Server/webroot/greeno')
-rw-r--r--Duplicati/Server/webroot/greeno/index.html12
-rw-r--r--Duplicati/Server/webroot/greeno/scripts/editdialog.js3
2 files changed, 15 insertions, 0 deletions
diff --git a/Duplicati/Server/webroot/greeno/index.html b/Duplicati/Server/webroot/greeno/index.html
index f26d0b901..cd1e54f87 100644
--- a/Duplicati/Server/webroot/greeno/index.html
+++ b/Duplicati/Server/webroot/greeno/index.html
@@ -297,6 +297,18 @@
</div>
<div id="edit-tab-sourcedata">
+
+ <div class="input-wrapper">
+ <div class="edit-dialog-label" title="Choose if the backup configuration should be stored">Store configuration</div>
+ <select id="store-task-config" name="store-task-config">
+ <option value="false">Don't store setup</option>
+ <option value="true">Store this backup job setup</option>
+ <option value="all">Store all backup job setups</option>
+ </select>
+ </div>
+
+ <div class="clearfix"></div>
+
<div id="source-folder-paths" class="empty">
<div id="source-folder-droptarget"></div>
<div id="source-folder-paths-hint" class="hint-text">Click the &quot;Browse&quot; button to add folders</div>
diff --git a/Duplicati/Server/webroot/greeno/scripts/editdialog.js b/Duplicati/Server/webroot/greeno/scripts/editdialog.js
index b43e5a7b9..35aa1ca57 100644
--- a/Duplicati/Server/webroot/greeno/scripts/editdialog.js
+++ b/Duplicati/Server/webroot/greeno/scripts/editdialog.js
@@ -417,6 +417,9 @@ $(document).ready(function() {
delete dict['Backup']['Settings']['keep-versions'];
delete dict['Backup']['Settings']['keep-time'];
}
+ },
+ 'store-task-config': function(dict, key, el, cfgel) {
+ dict['Backup']['Settings']['store-task-config'] = $(el).val();
}
}
};