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
19f88bd3
Verified
Commit
19f88bd3
authored
1 month ago
by
Théodore Biadala
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3511186
by grimreaper: Media Library currentSelection not reset properly
parent
fe62a3e9
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!5423
Draft: Resolve #3329907 "Test2"
,
!3478
Issue #3337882: Deleted menus are not removed from content type config
,
!579
Issue #2230909: Simple decimals fail to pass validation
Pipeline
#489383
passed
1 month ago
Stage: 🪄 Lint
Stage: 🗜️ Test
Pipeline: drupal
#489384
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/media_library/js/media_library.ui.js
+3
-1
3 additions, 1 deletion
core/modules/media_library/js/media_library.ui.js
with
3 additions
and
1 deletion
core/modules/media_library/js/media_library.ui.js
+
3
−
1
View file @
19f88bd3
...
...
@@ -410,7 +410,9 @@
return
;
}
window
.
addEventListener
(
'
dialog:afterclose
'
,
()
=>
{
Drupal
.
MediaLibrary
.
currentSelection
=
[];
// This empty the array while keeping the existing array reference,
// to keep event listeners working.
Drupal
.
MediaLibrary
.
currentSelection
.
length
=
0
;
});
},
};
...
...
This diff is collapsed.
Click to expand it.
Théodore Biadala
@nod_
mentioned in commit
3ff0b26d
·
1 month ago
mentioned in commit
3ff0b26d
mentioned in commit 3ff0b26d975c75d25863d70e4f00ab6c000b4aee
Toggle commit list
Théodore Biadala
@nod_
mentioned in commit
5d36123b
·
1 month ago
mentioned in commit
5d36123b
mentioned in commit 5d36123b2a5cd20124b20e679ce34f9fc7a41b16
Toggle commit list
Théodore Biadala
@nod_
mentioned in commit
d0c9e278
·
1 month ago
mentioned in commit
d0c9e278
mentioned in commit d0c9e27897b8cec98abe783fa53e8fb8e522eeb7
Toggle commit list
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