mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-62658 message_popup: fixed issue with malformed URL being generated
This commit is contained in:
parent
3b6811a113
commit
4f6cb2ee77
File diff suppressed because one or more lines are too long
@ -224,8 +224,8 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/str', 'core/url',
|
||||
|
||||
// Link to mark read page before loading the actual link.
|
||||
notification.contexturl = URL.relativeUrl('message/output/popup/mark_notification_read.php', {
|
||||
redirecturl: notification.contexturl,
|
||||
notificationid: notification.id,
|
||||
redirecturl: notification.contexturl
|
||||
});
|
||||
|
||||
var promise = Templates.render('message_popup/notification_content_item', notification)
|
||||
|
Loading…
x
Reference in New Issue
Block a user