Revision 712f2139
Von Tamino Steinert vor etwa 1 Monat hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
1340 | 1340 |
sub js_reset_part_after_save { |
1341 | 1341 |
my ($self) = @_; |
1342 | 1342 |
|
1343 |
$self->part->load(); |
|
1343 | 1344 |
$self->js |
1344 | 1345 |
->val('#part_id', $self->part->id) |
1345 | 1346 |
->val('#part_partnumber', $self->part->partnumber) |
1346 | 1347 |
->val('#part_weight_as_number', $self->part->weight_as_number) |
1347 |
->val('#last_modification', "$self->part->last_modification");
|
|
1348 |
->val('#last_modification', $self->part->last_modification . "");
|
|
1348 | 1349 |
} |
1349 | 1350 |
|
1350 | 1351 |
# get_set_inits for partpicker |
Auch abrufbar als: Unified diff
FIX: S:C:Part: Zeit der letzten Bearbeitung über JS setzen