Revision d1809c22
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
157 | 157 |
} |
158 | 158 |
} |
159 | 159 |
|
160 |
sub action_abort { |
|
161 |
my ($self) = @_; |
|
162 |
|
|
163 |
if ( $::form->{callback} ) { |
|
164 |
$self->redirect_to($::form->unescape($::form->{callback})); |
|
165 |
} |
|
166 |
} |
|
167 |
|
|
160 | 168 |
sub action_delete { |
161 | 169 |
my ($self) = @_; |
162 | 170 |
|
... | ... | |
1334 | 1342 |
], |
1335 | 1343 |
], # end of combobox "Save" |
1336 | 1344 |
|
1345 |
action => [ |
|
1346 |
t8('Abort'), |
|
1347 |
submit => [ '#ic', { action => "Part/abort" } ], |
|
1348 |
only_if => !!$::form->{show_abort}, |
|
1349 |
], |
|
1350 |
|
|
1337 | 1351 |
action => [ |
1338 | 1352 |
t8('Delete'), |
1339 | 1353 |
call => [ 'kivi.Part.delete' ], |
Auch abrufbar als: Unified diff
Auftrags-Controller: neuen Artikel aus Maske heraus anlegen können