Changeset 559 for lang/perl/plagger/lib/Plagger/Plugin/Publish
- Timestamp:
- 10/19/07 22:25:46 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/plagger/lib/Plagger/Plugin/Publish/NiftyClip.pm
r557 r559 41 41 if ($res && $res->is_success) { 42 42 eval { 43 for (my $num = 1; $num < @tags; $num++) { 44 $self->{mech}->form_name('savingForm')->push_input( 45 'text', { 46 name => 'tagname', 47 value => $tags[$num], 48 }); 43 for (my $num = 0; $num < @tags; $num++) { 44 if ($num == 0) { 45 $self->{mech}->form_name('savingForm')->find_input( 46 'tagname')->value($tags[0]); 47 } else { 48 $self->{mech}->form_name('savingForm')->push_input( 49 'text', { 50 name => 'tagname', 51 value => $tags[$num], 52 }); 53 } 49 54 } 50 55 $self->{mech}->submit_form( … … 54 59 url => encode('utf-8', $args->{entry}->link), 55 60 comment => $summary, 56 tagname => (@tags ? $tags[0] : ''),57 61 public_flag => ($self->conf->{default_public} ? 'on' : 'off'), 58 62 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)