diff --git a/assets/Inspinia/css/style.css b/assets/Inspinia/css/style.css index c85461f..ab0f6f9 100755 --- a/assets/Inspinia/css/style.css +++ b/assets/Inspinia/css/style.css @@ -3934,6 +3934,7 @@ code { .ibox.collapsed .ibox-content { display: none; } + .ibox.collapsed .fa.fa-chevron-up:before { content: '\f078'; } diff --git a/assets/Inspinia/inspinia.js b/assets/Inspinia/inspinia.js index e9b437e..fe24bc5 100755 --- a/assets/Inspinia/inspinia.js +++ b/assets/Inspinia/inspinia.js @@ -24,7 +24,7 @@ $(document).ready(function () { var content = ibox.children('.ibox-content'); content.slideToggle(200); button.toggleClass('fa-minus').toggleClass('fa-plus'); - ibox.toggleClass('').toggleClass('border-bottom'); + ibox.toggleClass('border-bottom'); setTimeout(function () { ibox.resize(); ibox.find('[id^=map-]').resize(); diff --git a/assets/Zed/js/modules/libs/safe-checks.js b/assets/Zed/js/modules/libs/safe-checks.js index 23075a8..986d00b 100644 --- a/assets/Zed/js/modules/libs/safe-checks.js +++ b/assets/Zed/js/modules/libs/safe-checks.js @@ -21,6 +21,10 @@ function addSafeSubmitCheck() { if (isValid) { setTimeout(disableTrigger); + } else { + $('.ibox.collapsed').each((index, item) => { + $(item).find('.collapse-link').trigger('click'); + }); } return true; diff --git a/src/Spryker/Zed/Gui/Presentation/Partials/widget.twig b/src/Spryker/Zed/Gui/Presentation/Partials/widget.twig index ff63806..d386f44 100644 --- a/src/Spryker/Zed/Gui/Presentation/Partials/widget.twig +++ b/src/Spryker/Zed/Gui/Presentation/Partials/widget.twig @@ -1,4 +1,5 @@ -