equal
deleted
inserted
replaced
180 this.fetch_and_process = function() |
180 this.fetch_and_process = function() |
181 { |
181 { |
182 af_current = this; |
182 af_current = this; |
183 var processResponse = function() |
183 var processResponse = function() |
184 { |
184 { |
185 if ( ajax.readyState == 4 ) |
185 if ( ajax.readyState == 4 && ajax.status == 200 ) |
186 { |
186 { |
187 var afobj = af_current; |
187 var afobj = af_current; |
188 af_current = false; |
188 af_current = false; |
189 // parse the JSON response |
189 // parse the JSON response |
190 var response = String(ajax.responseText) + ' '; |
190 var response = String(ajax.responseText) + ' '; |