Commit 5e77cbed authored by alexpott's avatar alexpott

Issue #2505965 by olli: Remove dead code related to old views ui modal

parent f8f25e4b
......@@ -122,12 +122,6 @@ public function form(array $form, FormStateInterface $form_state) {
$form['#attached']['library'][] = 'views_ui/views_ui.admin';
$form['#attached']['library'][] = 'views_ui/admin.styling';
$form['#attached']['drupalSettings']['views']['ajax'] = [
'id' => '.views-ajax-body',
'title' => '.views-ajax-title',
'popup' => '.views-ajax-popup',
];
$form += array(
'#prefix' => '',
'#suffix' => '',
......@@ -220,23 +214,6 @@ public function form(array $form, FormStateInterface $form_state) {
'#type' => 'container',
'tab_content' => $tab_content,
);
// The content of the popup dialog.
$form['ajax-area'] = array(
'#type' => 'container',
'#attributes' => array(
'class' => array('views-ajax-popup'),
),
);
$form['ajax-area']['ajax-title'] = array(
'#markup' => '<div class="views-ajax-title"></div>',
);
$form['ajax-area']['ajax-body'] = array(
'#type' => 'container',
'#attributes' => array(
'class' => array('views-ajax-body'),
),
);
}
return $form;
......
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