You are here

function dialog_form_views_ui_edit_form_alter in Dialog 7.2

Implements hook_form_FORM_ID_alter().

Add assets to the Views UI 'edit' page to fix styling issues until Dialog replaces CTools for modal support.

File

./dialog.module, line 224
Provides an API for opening content in a dialog.

Code

function dialog_form_views_ui_edit_form_alter(&$form, &$form_state, $form_id) {
  $form['#attached']['library'][] = array(
    'dialog',
    'drupal.dialog.ajax',
  );
}