Skip to content

Commit

Permalink
Prevent URL modification on dismiss (#3338)
Browse files Browse the repository at this point in the history
* Prevent URL modification on dismiss

* Update CHANGELOG.md
  • Loading branch information
scotty6435 authored May 10, 2024
1 parent e2c2bfa commit c8e8c09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
## Added

- #3323 - Add Provider Type Checker Plugin
- #3338 - Prevent URL modification on dismiss

## 6.6.0 - 2024-04-15

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ $(function() {
$('body').append(data);
});

$('body').on('click', '.acsCommons-System-Notification-dismiss', function() {
$('body').on('click', '.acsCommons-System-Notification-dismiss', function(e) {
e.preventDefault();

var $notification = $(this).closest('.acsCommons-System-Notification'),
uid = $notification.data('uid'),
dismissible = $notification.data('dismissible'),
Expand Down Expand Up @@ -71,4 +73,4 @@ $(function() {

return null;
}
});
});

0 comments on commit c8e8c09

Please sign in to comment.