[Bps-public-commit] App-Changeloggr branch, master, updated. e894dedfa72c3a57b74c9a2e212f6e3afa952723

sartak at bestpractical.com sartak at bestpractical.com
Fri Aug 21 05:07:32 EDT 2009


The branch, master has been updated
       via  e894dedfa72c3a57b74c9a2e212f6e3afa952723 (commit)
      from  5fe61f3575d30e02e49876acfa6d88fa5f883937 (commit)

Summary of changes:
 lib/App/Changeloggr/View.pm |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit e894dedfa72c3a57b74c9a2e212f6e3afa952723
Author: Shawn M Moore <sartak at gmail.com>
Date:   Fri Aug 21 05:07:16 2009 -0400

    Force change to be 0 when we don't preload to avoid region statefulness

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 4957f2e..187f152 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -356,7 +356,11 @@ sub show_vote_form {
                                         arguments    => {
                                             change => $next_change->id,
                                         },
-                                    ) : (),
+                                    ) : (
+                                        arguments => {
+                                            change => 0,
+                                        },
+                                    ),
                                 },
                                 { refresh => 'score' },
                             ],
@@ -405,7 +409,11 @@ sub show_vote_form {
                                             arguments    => {
                                                 change => $next_change->id,
                                             },
-                                        ) : (),
+                                        ) : (
+                                            arguments => {
+                                                change => 0,
+                                            },
+                                        ),
                                     },
                                     { refresh => 'score' },
                                 ],
@@ -438,7 +446,11 @@ sub show_vote_form {
                                     arguments    => {
                                         change => $next_change->id,
                                     },
-                                ) : (),
+                                ) : (
+                                    arguments => {
+                                        change => 0,
+                                    },
+                                ),
                             },
                             { refresh => 'score' },
                         ],

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



More information about the Bps-public-commit mailing list