Revision f5f6c082
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
636 | 636 |
|
637 | 637 |
sub _set_javascript { |
638 | 638 |
my ($self) = @_; |
639 |
$::request->layout->use_javascript("${_}.js") for qw(kivi.Part kivi.PriceRule ckeditor/ckeditor ckeditor/adapters/jquery kivi.shop_part); |
|
639 |
$::request->layout->use_javascript("${_}.js") for qw(kivi.Part kivi.PriceRule ckeditor/ckeditor ckeditor/adapters/jquery kivi.shop_part kivi.FileUploader);
|
|
640 | 640 |
$::request->layout->add_javascripts_inline("\$(function(){kivi.PriceRule.load_price_rules_for_part(@{[ $self->part->id ]})});") if $self->part->id; |
641 | 641 |
} |
642 | 642 |
|
Auch abrufbar als: Unified diff
Shopmodul: Anpassungen an neuen Partcontroller