[Rt-commit] r14531 - in rtfm/trunk: .

falcone at bestpractical.com falcone at bestpractical.com
Fri Jul 25 18:43:09 EDT 2008


Author: falcone
Date: Fri Jul 25 18:43:05 2008
New Revision: 14531

Modified:
   rtfm/trunk/   (props changed)
   rtfm/trunk/html/RTFM/Elements/BeforeMessageBox

Log:
 r36215 at ketch:  falcone | 2008-07-25 18:38:03 -0400
 * Don't select the Topic or Article after the user has included an Article


Modified: rtfm/trunk/html/RTFM/Elements/BeforeMessageBox
==============================================================================
--- rtfm/trunk/html/RTFM/Elements/BeforeMessageBox	(original)
+++ rtfm/trunk/html/RTFM/Elements/BeforeMessageBox	Fri Jul 25 18:43:05 2008
@@ -97,9 +97,9 @@
 </td>
 <td>
 <select name="RTFM-Include-Topic">
-<option value="" <% $ARGS{'RTFM-Include-Topic'} ? () : 'selected' %>><&|/l&>-</&></option>
+<option value="" selected>-</option>
 % for ( @$topics ) { 
-<option value="<% $_->{id} %>" <% $ARGS{'RTFM-Include-Topic'}||0 == $_->{id} ? 'selected' : () %> ><%'&nbsp;' x $_->{depth} . ($_->{name}|| loc('(no name)')) |n%>
+<option value="<% $_->{id} %>"><%'&nbsp;' x $_->{depth} . ($_->{name}|| loc('(no name)')) |n%>
 </option>
 % }
 </select>
@@ -114,9 +114,9 @@
 </td>
 <td>
 <select name="RTFM-Include-Article">
-<option value="" <% $ARGS{'RTFM-Include-Article'} ? () : 'selected' %>><&|/l&>-</&></option>
+<option value="" selected>-</option>
 % while ( my $art = $topic_articles->Next ) {
-<option value="<% $art->id %>" <% $ARGS{'RTFM-Include-Article'}||0 == $art->id ? 'selected' : () %> ><%$art->Name||loc('(no name)')%>: <%$art->Summary%></option>
+<option value="<% $art->id %>"><%$art->Name||loc('(no name)')%>: <%$art->Summary%></option>
 % }
 </select>
 </td>


More information about the Rt-commit mailing list