Permalink
Browse files

Update loaded tasks

  • Loading branch information...
1 parent a1af5f5 commit ea9d7ac459888ca9507daf94b1d7f89b675871f8 @den-plugins den-plugins committed Dec 1, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/views/tasks/index.html.erb
@@ -17,7 +17,8 @@ $(function(){
$.ajaxSetup({
complete: function(){
alert("Ajax " + count + " Complete.");
- if(count <= len){
+ $("#loaded").text(count);
+ if(count < len){
alert("Condition == true, incrementing count, calling next ajax call.");
count++;
getData();

0 comments on commit ea9d7ac

Please sign in to comment.