Revision 65de8c94
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
644 | 644 |
|
645 | 645 |
sub _set_javascript { |
646 | 646 |
my ($self) = @_; |
647 |
$::request->layout->use_javascript("${_}.js") for qw(kivi.Part kivi.PriceRule ckeditor/ckeditor ckeditor/adapters/jquery kivi.shop_part); |
|
647 |
$::request->layout->use_javascript("${_}.js") for qw(kivi.Part kivi.PriceRule ckeditor/ckeditor ckeditor/adapters/jquery kivi.shop_part kivi.FileUploader);
|
|
648 | 648 |
$::request->layout->add_javascripts_inline("\$(function(){kivi.PriceRule.load_price_rules_for_part(@{[ $self->part->id ]})});") if $self->part->id; |
649 | 649 |
} |
650 | 650 |
|
Auch abrufbar als: Unified diff
Shopmodul: Anpassungen an neuen Partcontroller