mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-54687 core_message: removed loading template
This commit is contained in:
parent
e48a092a40
commit
b8a6beec40
7 changed files with 6 additions and 40 deletions
|
@ -141,7 +141,7 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification'],
|
|||
*/
|
||||
Contacts.prototype._loadContactArea = function(webservice) {
|
||||
// Show loading template.
|
||||
templates.render('core_message/loading', {}).done(function(html, js) {
|
||||
templates.render('core/loading', {}).done(function(html, js) {
|
||||
templates.replaceNodeContents("[data-region='contacts']", html, js);
|
||||
});
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification'],
|
|||
*/
|
||||
Messages.prototype._loadMessages = function(event, userid) {
|
||||
// Show loading template.
|
||||
templates.render('core_message/loading', {}).done(function(html, js) {
|
||||
templates.render('core/loading', {}).done(function(html, js) {
|
||||
templates.replaceNodeContents("[data-region='messages-area']", html, js);
|
||||
});
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/str'
|
|||
*/
|
||||
Profile.prototype._viewProfile = function(event, userid) {
|
||||
// Show loading template.
|
||||
templates.render('core_message/loading', {}).done(function(html, js) {
|
||||
templates.render('core/loading', {}).done(function(html, js) {
|
||||
templates.replaceNodeContents("[data-region='messages-area']", html, js);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue