MDL-54687 core_message: removed loading template

This commit is contained in:
Mark Nelson 2016-07-19 15:36:14 +08:00
parent e48a092a40
commit b8a6beec40
7 changed files with 6 additions and 40 deletions

View file

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

View file

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

View file

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