mirror of
https://github.com/moodle/moodle.git
synced 2025-04-23 17:34:56 +02:00
Merge branch 'MDL-64274-master' of git://github.com/ryanwyllie/moodle
This commit is contained in:
commit
f8b5fcd304
message/amd
2
message/amd/build/message_repository.min.js
vendored
2
message/amd/build/message_repository.min.js
vendored
File diff suppressed because one or more lines are too long
@ -524,7 +524,7 @@ define(['jquery', 'core/ajax', 'core/notification'], function($, Ajax, Notificat
|
||||
* @return {object} jQuery promise
|
||||
*/
|
||||
var deleteMessages = function(userId, messageIds) {
|
||||
return Ajax.call(messageIds.map(function(messageId) {
|
||||
return $.when.apply(null, Ajax.call(messageIds.map(function(messageId) {
|
||||
return {
|
||||
methodname: 'core_message_delete_message',
|
||||
args: {
|
||||
@ -532,7 +532,7 @@ define(['jquery', 'core/ajax', 'core/notification'], function($, Ajax, Notificat
|
||||
userid: userId
|
||||
}
|
||||
};
|
||||
}));
|
||||
})));
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user