this.storeQuery(query, this.issues.sorting);
+ var that = this;
+ this.issuesView.$el.addClass('fetching');
if (firstPage) {
this.issues.fetch({
- data: fetchQuery
+ data: fetchQuery,
+ success: function() {
+ that.issuesView.$el.removeClass('fetching');
+ }
});
} else {
this.issues.fetch({
data: fetchQuery,
- remove: false
+ remove: false,
+ success: function() {
+ that.issuesView.$el.removeClass('fetching');
+ }
});
}
};
.navigator-results-list > li.active .line:last-child {
border-bottom-color: #e1e1e1;
}
+.navigator-results-list.fetching {
+ position: relative;
+}
+.navigator-results-list.fetching:before {
+ content: " ";
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background-color: rgba(255, 255, 255, 0.7);
+}
.navigator-results-no-issues {
padding-top: 20%;
color: #999;
.navigator-results-list > li.active .line:last-child {
border-bottom-color: #e1e1e1;
}
+.navigator-results-list.fetching {
+ position: relative;
+}
+.navigator-results-list.fetching:before {
+ content: " ";
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ background-color: rgba(255, 255, 255, 0.7);
+}
.navigator-results-no-issues {
padding-top: 20%;
color: #999;
.navigator-results-list {
-
& > li {
padding-top: @navigatorPadding;
cursor: pointer;
}
+
+ &.fetching {
+ position: relative;
+
+ &:before {
+ content: " ";
+ position: absolute;
+ top: 0; bottom: 0; left: 0; right: 0;
+ background-color: rgba(255, 255, 255, 0.7);
+ }
+ }
+
}
.navigator-results-no-issues {