Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
0ba8f441
Commit
0ba8f441
authored
15 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#622550
by roborn: fixed block administration page table header sticking.
parent
464b7a3a
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
misc/tableheader.js
+1
-5
1 addition, 5 deletions
misc/tableheader.js
with
1 addition
and
5 deletions
misc/tableheader.js
+
1
−
5
View file @
0ba8f441
...
...
@@ -14,9 +14,6 @@ Drupal.behaviors.tableHeader = {
return
;
}
// Keep track of all cloned table headers.
var
headers
=
[];
$
(
'
table.sticky-enabled thead
'
,
context
).
once
(
'
tableheader
'
,
function
()
{
// Clone the table header so it inherits original jQuery properties. Hide
// the table to avoid a flash of the header clone upon page load.
...
...
@@ -26,7 +23,6 @@ Drupal.behaviors.tableHeader = {
});
headerClone
=
$
(
headerClone
)[
0
];
headers
.
push
(
headerClone
);
// Store parent table.
var
table
=
$
(
this
).
parent
(
'
table
'
)[
0
];
...
...
@@ -94,7 +90,7 @@ Drupal.behaviors.tableHeader = {
// Track scrolling.
Drupal
.
tableHeaderOnScroll
=
function
()
{
$
(
header
s
).
each
(
function
()
{
$
(
'
table.sticky-
header
'
).
each
(
function
()
{
tracker
(
this
);
});
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment