MDL-62658 message_popup: fixed issue with malformed URL being generated

This commit is contained in:
Mark Nelson 2018-06-11 18:05:12 +08:00
parent 3b6811a113
commit 4f6cb2ee77
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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)