Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
220
Merge Requests
220
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
ca0af473
Unverified
Commit
ca0af473
authored
Jun 22, 2020
by
lauriii
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3145930
by bnjmnm, msuthars, nod_: Tableheader should recalculate on toolbar tray toggle
parent
fe749ea4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
core/misc/tableheader.es6.js
core/misc/tableheader.es6.js
+3
-3
core/misc/tableheader.js
core/misc/tableheader.js
+1
-1
No files found.
core/misc/tableheader.es6.js
View file @
ca0af473
...
...
@@ -139,12 +139,12 @@
// Bind to custom Drupal events.
$
(
document
).
on
({
/**
* Recalculate columns width when window is resized
and when show/hide
*
weight is trigger
ed.
* Recalculate columns width when window is resized
, when show/hide weight
*
is triggered, or when toolbar tray is toggl
ed.
*
* @ignore
*/
'
columnschange.TableHeader
'
:
tableHeaderResizeHandler
,
'
columnschange.TableHeader
drupalToolbarTrayChange
'
:
tableHeaderResizeHandler
,
/**
* Recalculate TableHeader.topOffset when viewport is resized.
...
...
core/misc/tableheader.js
View file @
ca0af473
...
...
@@ -78,7 +78,7 @@
'
scroll.TableHeader
'
:
tableHeaderOnScrollHandler
});
$
(
document
).
on
({
'
columnschange.TableHeader
'
:
tableHeaderResizeHandler
,
'
columnschange.TableHeader
drupalToolbarTrayChange
'
:
tableHeaderResizeHandler
,
'
drupalViewportOffsetChange.TableHeader
'
:
tableHeaderOffsetChangeHandler
});
$
.
extend
(
TableHeader
,
{
...
...
lauriii
@lauriii
mentioned in commit
bc3e313f
·
Jun 26, 2020
mentioned in commit
bc3e313f
mentioned in commit bc3e313fcfbd8c7d3deb073076efe2d7170396c8
Toggle commit list
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