mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
Uncomment the loading logic :)
This commit is contained in:
parent
924a88b5c0
commit
f1bce7cc42
1 changed files with 9 additions and 9 deletions
|
@ -141,15 +141,15 @@ Discourse.CloakedCollectionView = Ember.CollectionView.extend(Discourse.Scrollin
|
|||
toCloak.forEach(function (v) { v.cloak(); });
|
||||
});
|
||||
|
||||
// for (var j=bottomView; j<childViews.length; j++) {
|
||||
// var checkView = childViews[j];
|
||||
// if (!checkView.get('containedView')) {
|
||||
// if (!checkView.get('loading')) {
|
||||
// checkView.$().html("<div class='spinner'>" + I18n.t('loading') + "</div>");
|
||||
// }
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
for (var j=bottomView; j<childViews.length; j++) {
|
||||
var checkView = childViews[j];
|
||||
if (!checkView.get('containedView')) {
|
||||
if (!checkView.get('loading')) {
|
||||
checkView.$().html("<div class='spinner'>" + I18n.t('loading') + "</div>");
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue