diff options
author | Mark Wells <mark@freeside.biz> | 2013-07-18 11:51:21 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-07-18 11:51:21 -0700 |
commit | 3fa4e563b63c858ed8ab518bf6a7286622424435 (patch) | |
tree | bee3786120a03ca3c64b06e70cc1882682653957 /rt/share/html/Admin | |
parent | 0fd6e4b7e096b1e53763b46656d392b04c802158 (diff) |
allow changing template on system scrips, #18184
Diffstat (limited to 'rt/share/html/Admin')
-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, |