This commit is contained in:
Ludovic CANDELLIER
2020-06-22 00:26:45 +02:00
parent 23a79b0586
commit bd685d407a
11 changed files with 44 additions and 13 deletions

View File

@@ -81,7 +81,7 @@
<script>
$(function() {
$('.select2').select2();
$('.select2').select2({ width: '100%' });
$('.editor').tinymce({});
$('.active-checkbox').bootstrapToggle();

View File

@@ -7,7 +7,7 @@
{{ Form::label('attribute_family_id', 'Attributs') }}<br/>
@include('components.select', [
'name' => "prices[$key][attributes][attribute_family_id]",
'value' => (isset($attribute['value']['attribute_family_id'])) ? $attribute['attribute_family_id'] : null,
'value' => (isset($attribute['value']['article_attribute_family_id'])) ? $attribute['value']['article_attribute_family_id'] : null,
'list' => $attribute_families_options,
'required' => true,
'class' => 'select2 form-control form-control-sm attributes-family'

View File

@@ -1,4 +1,4 @@
<script>
<script>
$.extend( true, $.fn.dataTable.defaults, {
language: {
url: "/assets/vendor/boilerplate/js/datatables/i18n/French.json"

View File

@@ -22,6 +22,7 @@
<script>
function append_image() {
$("#uploader-new-images .file").fileinput();
$("#uploader-new-images .file").focus();
}
$("#uploader-new-images").appender({