Small adjusment to garantee page relaod from customizer when changing settings.
This commit is contained in:
parent
319df115cc
commit
193ae3fb41
|
@ -12,7 +12,6 @@ $options = [
|
|||
'type' => 'ct-image-picker',
|
||||
'value' => 'type-dam',
|
||||
'design' => 'block',
|
||||
'setting' => [ 'transport' => 'postMessage' ],
|
||||
'choices' => [
|
||||
'type-dam' => [
|
||||
'src' => tainacan_blocksy_image_picker_url( 'type-dam.svg' ),
|
||||
|
@ -44,8 +43,6 @@ $options = [
|
|||
// 'title' => __( 'Document and Attachments above Title', 'tainacan-blocksy' ),
|
||||
// ],
|
||||
],
|
||||
'sync' => blocksy_sync_single_post_container([
|
||||
'prefix' => $prefix
|
||||
])
|
||||
'sync' => ''
|
||||
],
|
||||
];
|
|
@ -15,7 +15,7 @@ if (window.ctEvents && window.ctEvents.default) {
|
|||
|
||||
/* Handles reloading the Items list */
|
||||
document.dispatchEvent(new Event('TainacanReloadItemsListComponent'));
|
||||
|
||||
|
||||
/* Handles updating Items carousel */
|
||||
document.dispatchEvent(new Event('TainacanReloadCarouselItemsListBlock'));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue