[Bps-public-commit] r18288 - in Net-Google-Code/branches/write: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Feb 9 06:53:13 EST 2009


Author: sunnavy
Date: Mon Feb  9 06:53:11 2009
New Revision: 18288

Modified:
   Net-Google-Code/branches/write/   (props changed)
   Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm

Log:
 r19702 at sunnavys-mb:  sunnavy | 2009-02-09 15:31:50 +0800
 tiny order change


Modified: Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm
==============================================================================
--- Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm	(original)
+++ Net-Google-Code/branches/write/lib/Net/Google/Code/Issue.pm	Mon Feb  9 06:53:11 2009
@@ -149,16 +149,16 @@
               qw/comment summary status owner merge_into cc blocked_on/,
         }
     );
-
-    $self->signin;
-    $self->fetch( 'issues/detail?id=' . $self->id );
-    $self->mech->form_with_fields( 'comment', 'summary' );
-
     # convert hash to array. e.g. Type => Defect to Type-Defect
     if ( $args{label} && ref $args{label} eq 'HASH' ) {
         $args{label} =
           [ map { $_ . '-' . $args{label}{$_} } keys %{ $args{label} } ];
     }
+
+    $self->signin;
+    $self->fetch( 'issues/detail?id=' . $self->id );
+    $self->mech->form_with_fields( 'comment', 'summary' );
+
     $self->mech->field( 'label', $args{label} );
     $self->mech->submit_form(
         fields => {



More information about the Bps-public-commit mailing list