【发布时间】:2019-06-12 20:56:16
【问题描述】:
我有这个使用 Drupal 8 触发打开对话框的链接
对话框关闭时我需要在 JS 中做一些事情
我应该写什么?
<div class="fullcalendar-bottom-btn add-event-btn">
<a id="calendar-add-event" href="{{ language }}fullcalendar-view-event-add?entity={{ entity_id }}&bundle={{ options.bundle_type }}&start_field={{ options.start }}&end_field={{ options.end }}&destination={{ path('<current>') }}" class="use-ajax" data-dialog-type="dialog" data-dialog-renderer="off_canvas" data-dialog-options="{"width":400}">{{ 'Add event'|t }}</a>
</div>
【问题讨论】:
标签: jquery jquery-ui-dialog drupal-8