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

sartak at bestpractical.com sartak at bestpractical.com
Wed Apr 1 15:35:08 EDT 2009


The branch, master has been updated
       via  bbf6cacbfe3599cfee314e2613dd99d8413ecd06 (commit)
      from  7bd6e42ac05de0f5a10fab1f438132db18366a47 (commit)

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

- Log -----------------------------------------------------------------
commit bbf6cacbfe3599cfee314e2613dd99d8413ecd06
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed Apr 1 15:34:53 2009 -0400

    Use $action->button instead of form_submit

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index a824b60..037ef71 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -150,10 +150,10 @@ sub show_vote_form {
         else {
             render_action $vote, ['change_id'];
             while (my $valid_tag = $valid_tags->next) {
-                form_submit(
+                $vote->button(
                     label => $valid_tag->text,
                     onclick => { submit => $vote, refresh_self => 1 },
-                    parameters => { tag => $valid_tag->text },
+                    arguments => { tag => $valid_tag->text },
                 );
             }
         }

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



More information about the Bps-public-commit mailing list