mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -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