MDL-62658 message_popup: fixed issue with malformed URL being generated
authorMark Nelson <markn@moodle.com>
Mon, 11 Jun 2018 10:05:12 +0000 (18:05 +0800)
committerMark Nelson <markn@moodle.com>
Mon, 18 Jun 2018 06:27:54 +0000 (14:27 +0800)
message/output/popup/amd/build/notification_popover_controller.min.js
message/output/popup/amd/src/notification_popover_controller.js

index 3ce78cb..b241a56 100644 (file)
Binary files a/message/output/popup/amd/build/notification_popover_controller.min.js and b/message/output/popup/amd/build/notification_popover_controller.min.js differ
index 9ffc65d..9aa7630 100644 (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)