Skip to content

Commit

Permalink
Fix the loading indicator not clearing in some cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
mleibman committed Jul 11, 2013
1 parent c8cd940 commit e0a7e6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slick.remotemodel.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@

if (fromPage > toPage || ((fromPage == toPage) && data[fromPage * PAGESIZE] !== undefined)) {
// TODO: look-ahead
onDataLoaded.notify({from: from, to: to});
return;
}

Expand Down Expand Up @@ -169,4 +170,4 @@

// Slick.Data.RemoteModel
$.extend(true, window, { Slick: { Data: { RemoteModel: RemoteModel }}});
})(jQuery);
})(jQuery);

0 comments on commit e0a7e6d

Please sign in to comment.