Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
drupal
Commits
e8623ae7
Commit
e8623ae7
authored
Sep 20, 2013
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2044505
by bowersox: Fixed Remove empty headers in Views UI <h2 id="views-ajax-title"></h2>.
parent
cec07cb1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
core/modules/views_ui/css/views_ui.admin.css
core/modules/views_ui/css/views_ui.admin.css
+0
-1
core/modules/views_ui/css/views_ui.admin.theme.css
core/modules/views_ui/css/views_ui.admin.theme.css
+2
-1
core/modules/views_ui/js/ajax.js
core/modules/views_ui/js/ajax.js
+1
-1
core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
...s/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
+1
-1
No files found.
core/modules/views_ui/css/views_ui.admin.css
View file @
e8623ae7
...
...
@@ -243,7 +243,6 @@
overflow
:
hidden
;
}
.views-ui-dialog
#views-ajax-title
,
.views-ui-dialog
#views-ajax-body
{
margin
:
0
;
padding
:
0
;
...
...
core/modules/views_ui/css/views_ui.admin.theme.css
View file @
e8623ae7
...
...
@@ -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
{
...
...
core/modules/views_ui/js/ajax.js
View file @
e8623ae7
...
...
@@ -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
);
...
...
core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
View file @
e8623ae7
...
...
@@ -200,7 +200,7 @@ public function form(array $form, array &$form_state) {
'#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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment