diff options
author | Mark Wells <mark@freeside.biz> | 2013-07-18 11:51:12 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-07-18 11:51:12 -0700 |
commit | f12fa1eb90d66448e0e0910bf2770cf5ad2c6199 (patch) | |
tree | 13515428ae197ca7a5e9c8b557d958d57fc7ff8b /rt | |
parent | 856fe5e70c55f191f29db24c7ca8ae6f952de736 (diff) |
allow changing template on system scrips, #18184
Diffstat (limited to 'rt')
-rwxr-xr-x | rt/share/html/Admin/Elements/EditScrip | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/rt/share/html/Admin/Elements/EditScrip b/rt/share/html/Admin/Elements/EditScrip index 05a33d4da..bd1bde71d 100755 --- a/rt/share/html/Admin/Elements/EditScrip +++ b/rt/share/html/Admin/Elements/EditScrip @@ -108,19 +108,16 @@ &> <tr><td class="label"><&|/l&>Template</&>:</td><td class="value">\ -% if ( $immutable ) { -<% $scrip->TemplateObj->Name %> -<input type="hidden" name="Scrip-<%$id%>-Template" value="<% $scrip->TemplateObj->Id %>"> -% } else { +%# immutable flag doesn't affect this <& /Admin/Elements/SelectTemplate, Name => "Scrip-$id-Template", Default => $ARGS{"Scrip-$id-Template"} || $scrip->TemplateObj->Id, Queue => $Queue, &> -% } </td></tr> <tr><td class="label"><&|/l&>Stage</&>:</td><td class="value">\ +%# or this <& /Admin/Elements/SelectStage, Name => "Scrip-$id-Stage", Default => $ARGS{"Scrip-$id-Stage"} || $scrip->Stage, |