Issue #2692359 by alexpott, nod_: Use core/drupal.dialog.ajax when using data-dialog-type
parent
74d31f2de3
commit
8a8fc5b593
|
@ -16,4 +16,4 @@ drupal.block.admin:
|
||||||
dependencies:
|
dependencies:
|
||||||
- core/jquery
|
- core/jquery
|
||||||
- core/drupal
|
- core/drupal
|
||||||
- core/drupal.ajax
|
- core/drupal.dialog.ajax
|
||||||
|
|
|
@ -232,7 +232,7 @@ class ConfigSync extends FormBase {
|
||||||
$form_state->set('storage_comparer', $storage_comparer);
|
$form_state->set('storage_comparer', $storage_comparer);
|
||||||
|
|
||||||
// Add the AJAX library to the form for dialog support.
|
// 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) {
|
foreach ($storage_comparer->getAllCollectionNames() as $collection) {
|
||||||
if ($collection != StorageInterface::DEFAULT_COLLECTION) {
|
if ($collection != StorageInterface::DEFAULT_COLLECTION) {
|
||||||
|
|
Loading…
Reference in New Issue