Issue #2044505 by bowersox: Fixed Remove empty headers in Views UI <h2 id="views-ajax-title"></h2>.

8.0.x
Nathaniel Catchpole 2013-09-20 14:11:19 +01:00
parent cec07cb18d
commit e8623ae707
4 changed files with 4 additions and 4 deletions

View File

@ -243,7 +243,6 @@
overflow: hidden;
}
.views-ui-dialog #views-ajax-title,
.views-ui-dialog #views-ajax-body {
margin: 0;
padding: 0;

View File

@ -877,9 +877,10 @@ ul#views-display-menu-tabs li.add ul.action-list li{
margin: 0;
}
.views-ui-dialog #views-ajax-title {
.views-ui-dialog #views-ajax-title h2 {
font-size: 15px;
padding: 8px 13px;
margin: 0;
}
.views-ui-dialog #views-progress-indicator {

View File

@ -10,7 +10,7 @@
var ajax_title = Drupal.settings.views.ajax.title;
var ajax_body = Drupal.settings.views.ajax.id;
var ajax_popup = Drupal.settings.views.ajax.popup;
$(ajax_title).html(response.title);
$(ajax_title).html('<h2>' + response.title + '</h2>');
$(ajax_body).html(response.output);
$(ajax_popup).dialog('open');
Drupal.attachBehaviors($(ajax_popup), ajax.settings);

View File

@ -200,7 +200,7 @@ class ViewEditFormController extends ViewFormControllerBase {
'#id' => 'views-ajax-popup',
);
$form['ajax-area']['ajax-title'] = array(
'#markup' => '<h2 id="views-ajax-title"></h2>',
'#markup' => '<div id="views-ajax-title"></div>',
);
$form['ajax-area']['ajax-body'] = array(
'#type' => 'container',