[Rt-commit] rtfm branch, master, updated. 80fd81d4412f399fcf5a2289c381b6bd8eb97af7

Ruslan Zakirov ruz at bestpractical.com
Tue May 11 16:42:07 EDT 2010


The branch, master has been updated
       via  80fd81d4412f399fcf5a2289c381b6bd8eb97af7 (commit)
       via  bf5fbff369b1f5e31264624c023baf551e147b95 (commit)
      from  203f182c56298ab86d9dc8694c939e28a6b27bee (commit)

Summary of changes:
 html/RTFM/Elements/BeforeMessageBox |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit bf5fbff369b1f5e31264624c023baf551e147b95
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Wed May 12 00:41:43 2010 +0400

    autosubmit form when a person selects an article

diff --git a/html/RTFM/Elements/BeforeMessageBox b/html/RTFM/Elements/BeforeMessageBox
index 8044194..197068b 100644
--- a/html/RTFM/Elements/BeforeMessageBox
+++ b/html/RTFM/Elements/BeforeMessageBox
@@ -66,7 +66,7 @@
 % if ($hotlist->Count) {
 <tr>
 <td><&|/l&>Select an Article to include</&></td>
-<td><select name="<% $name_prefix %>RTFM-Include-Article-Named-Hotlist">
+<td><select name="<% $name_prefix %>RTFM-Include-Article-Named-Hotlist" onchange="this.form.submit()">
 <option value="" selected><&|/l&>-</&></option>
 % while (my $article = $hotlist->Next) {
 <option value="<% $article->Id %>"><%$article->Name|| loc('(no name)')%>: <%$article->Summary%></option>
@@ -99,7 +99,7 @@
 <&|/l, $QueueObj->Name &>Choose from Topics for [_1] </&>
 </td>
 <td>
-<select name="<% $name_prefix %>RTFM-Include-Topic">
+<select name="<% $name_prefix %>RTFM-Include-Topic" onchange="this.form.submit()">
 <option value="" selected>-</option>
 % for ( @$topics ) { 
 <option value="<% $_->{id} %>"><%'&nbsp;' x $_->{depth} . ($_->{name}|| loc('(no name)')) |n%>
@@ -116,7 +116,7 @@
 <&|/l, $included_topic->Name &>Select an Article from [_1]</&>
 </td>
 <td>
-<select name="<% $name_prefix %>RTFM-Include-Article">
+<select name="<% $name_prefix %>RTFM-Include-Article" onchange="this.form.submit()">
 <option value="" selected>-</option>
 % while ( my $art = $topic_articles->Next ) {
 <option value="<% $art->id %>"><%$art->Name||loc('(no name)')%>: <%$art->Summary%></option>

commit 80fd81d4412f399fcf5a2289c381b6bd8eb97af7
Merge: bf5fbff 203f182
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Wed May 12 00:42:28 2010 +0400

    Merge branch 'master' of git+ssh://git.bestpractical.com/git/rtfm


-----------------------------------------------------------------------


More information about the Rt-commit mailing list