summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/diag_backup.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index 246be18..64273fc 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -121,7 +121,10 @@ function spit_out_select_items($area, $showall) {
"wol" => "Wake on LAN"
);
- $select = "<select name=\"{$area}\">\n";
+ $select = "<select name=\"{$area}\" id=\"{$aread}\" ";
+ if ($area == "backuparea")
+ $select .= " onChange=backuparea_change(this)";
+ $select .= " >\n";
$select .= "<option VALUE=\"\">ALL</option>";
if($showall == true)
@@ -489,6 +492,13 @@ function decrypt_change() {
document.getElementById("decrypt_opts").style.display="";
}
+function backuparea_change(obj) {
+
+ if (obj.value == "")
+ document.getElementById("dotnotbackuprrd").checked = false;
+ else
+ document.getElementById("dotnotbackuprrd").checked = true;
+}
//-->
</script>
@@ -652,4 +662,4 @@ decrypt_change();
if (is_subsystem_dirty('restore'))
exec("/etc/rc.reboot");
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud