User: sits
Date: 08/08/27 02:18:59
Modified: lib/Codestriker/Action SubmitNewTopic.pm
Log:
In the case of a user input error - make sure the topic state dropdown is
properly initialised.
Index: SubmitNewTopic.pm
===================================================================
RCS file:
/cvsroot/codestriker/codestriker/lib/Codestriker/Action/SubmitNewTopic.pm,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- SubmitNewTopic.pm 27 Aug 2008 09:11:36 -0000 1.38
+++ SubmitNewTopic.pm 27 Aug 2008 09:18:59 -0000 1.39
@@ -111,6 +111,7 @@
$error_vars->{'topic_description'} = $topic_description;
$error_vars->{'topic_title'} = $topic_title;
$error_vars->{'bug_ids'} = $bug_ids;
+ $error_vars->{'states'} = [EMAIL PROTECTED]::topic_states;
$error_vars->{'default_repository'} = $repository_name;
$error_vars->{'repositories'} = [EMAIL
PROTECTED]::valid_repository_names;
$error_vars->{'start_tag'} = $start_tag;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits