Initial commit: is_imageslider out of the box. v2.3.2
This commit is contained in:
15
is_imageslider/views/js/form.js
Normal file
15
is_imageslider/views/js/form.js
Normal file
@ -0,0 +1,15 @@
|
||||
$(document).ready(function () {
|
||||
window.prestashop.component.initComponents(
|
||||
[
|
||||
'MultistoreConfigField',
|
||||
'Grid',
|
||||
],
|
||||
);
|
||||
|
||||
const imageSliderkGrid = new window.prestashop.component.Grid('is_imageslider');
|
||||
|
||||
imageSliderkGrid.addExtension(new prestashop.component.GridExtensions.AsyncToggleColumnExtension());
|
||||
imageSliderkGrid.addExtension(new window.prestashop.component.GridExtensions.SortingExtension());
|
||||
imageSliderkGrid.addExtension(new window.prestashop.component.GridExtensions.PositionExtension());
|
||||
imageSliderkGrid.addExtension(new window.prestashop.component.GridExtensions.SubmitRowActionExtension());
|
||||
});
|
||||
Reference in New Issue
Block a user