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

8.2.x
Nathaniel Catchpole 2016-03-24 10:59:42 +09:00
parent 74d31f2de3
commit 8a8fc5b593
2 changed files with 2 additions and 2 deletions

View File

@ -16,4 +16,4 @@ drupal.block.admin:
dependencies:
- core/jquery
- core/drupal
- core/drupal.ajax
- core/drupal.dialog.ajax

View File

@ -232,7 +232,7 @@ class ConfigSync extends FormBase {
$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) {