[Jifty-commit] r2064 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Oct 24 20:54:36 EDT 2006
Author: audreyt
Date: Tue Oct 24 20:54:36 2006
New Revision: 2064
Modified:
jifty/trunk/lib/Jifty/Web.pm
Log:
* Make render_messages sort on result moniker as well.
Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm (original)
+++ jifty/trunk/lib/Jifty/Web.pm Tue Oct 24 20:54:36 2006
@@ -837,7 +837,7 @@
my $plural = $type . "s";
$self->out(qq{<div class="jifty results messages" id="$plural">});
- foreach my $moniker ( keys %results ) {
+ foreach my $moniker ( sort keys %results ) {
if ( $results{$moniker}->$type() ) {
$self->out( qq{<div class="$type $moniker">}
. $results{$moniker}->$type()
More information about the Jifty-commit
mailing list