Commit 8a8fc5b5 authored by catch's avatar catch

Issue #2692359 by alexpott, nod_: Use core/drupal.dialog.ajax when using data-dialog-type

parent 74d31f2d
......@@ -16,4 +16,4 @@ drupal.block.admin:
dependencies:
- core/jquery
- core/drupal
- core/drupal.ajax
- core/drupal.dialog.ajax
......@@ -232,7 +232,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
$form_state->set('storage_comparer', $storage_comparer);
// Add the AJAX library to the form for dialog support.
$form['#attached']['library'][] = 'core/drupal.ajax';
$form['#attached']['library'][] = 'core/drupal.dialog.ajax';
foreach ($storage_comparer->getAllCollectionNames() as $collection) {
if ($collection != StorageInterface::DEFAULT_COLLECTION) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment