From: Marcin Haba Date: Tue, 29 Oct 2019 18:07:41 +0000 (+0100) Subject: baculum: Set job values on job selection in run job window X-Git-Tag: Release-9.6.0~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=200fafd64f396954441b54aa693a9b0227fd3b11;p=thirdparty%2Fbacula.git baculum: Set job values on job selection in run job window --- diff --git a/gui/baculum/protected/Web/Portlets/RunJob.php b/gui/baculum/protected/Web/Portlets/RunJob.php index 94049eb0f..53c0db490 100644 --- a/gui/baculum/protected/Web/Portlets/RunJob.php +++ b/gui/baculum/protected/Web/Portlets/RunJob.php @@ -203,6 +203,11 @@ class RunJob extends Portlets { $this->Priority->Text = $priority; } + public function selectJobValues($sender, $param) { + $this->setJobName($sender->SelectedValue); + $this->loadData(); + } + /** * set jobid to run job again. * diff --git a/gui/baculum/protected/Web/Portlets/RunJob.tpl b/gui/baculum/protected/Web/Portlets/RunJob.tpl index 4b0c327a3..2d7bfeab1 100644 --- a/gui/baculum/protected/Web/Portlets/RunJob.tpl +++ b/gui/baculum/protected/Web/Portlets/RunJob.tpl @@ -15,7 +15,11 @@
 
- +