[Rt-commit] r16181 - in rt/3.8/trunk: . share/html

elacour at bestpractical.com elacour at bestpractical.com
Wed Oct 1 11:57:06 EDT 2008


Author: elacour
Date: Wed Oct  1 11:57:05 2008
New Revision: 16181

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Elements/QuickCreate
   rt/3.8/trunk/share/html/index.html

Log:
 r10828 at datura:  manu | 2008-10-01 17:56:57 +0200
 Allow change of Requestor in QuickCreate


Modified: rt/3.8/trunk/share/html/Elements/QuickCreate
==============================================================================
--- rt/3.8/trunk/share/html/Elements/QuickCreate	(original)
+++ rt/3.8/trunk/share/html/Elements/QuickCreate	Wed Oct  1 11:57:05 2008
@@ -61,7 +61,12 @@
 <option value="<%$RT::Nobody->id%>"><%loc('Nobody')%></option>
 </select>
 </td>
-</tr><tr class="input-row">
+</tr>
+<tr class="input-row">
+    <td class="label"><&|/l&>Requestors</&>:</td>
+    <td colspan="3" class="value"><& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default => $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &></td>
+</tr>
+<tr class="input-row">
 <td class="labeltop"><&|/l&>Content</&>:</td>
 <td colspan="3" class="value"><textarea name="Content" cols="50" rows="3"></textarea></td></tr>
 </table>

Modified: rt/3.8/trunk/share/html/index.html
==============================================================================
--- rt/3.8/trunk/share/html/index.html	(original)
+++ rt/3.8/trunk/share/html/index.html	Wed Oct  1 11:57:05 2008
@@ -107,7 +107,7 @@
                         Owner => $ARGS{'Owner'},
                         Status => 'new',
                         # yes! it's Requestors, not Requestor
-                        Requestors => $session{'CurrentUser'}->id,
+                        Requestors => $ARGS{'Requestors'},
                         From => $session{'CurrentUser'}->EmailAddress,
                         Content => $ARGS{'Content'},
                         Subject => $ARGS{'Subject'});


More information about the Rt-commit mailing list