#885 - keep responder variable in closure - thanks for quick review crschmidt
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3855 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -183,6 +183,7 @@ OpenLayers.Ajax.Responders = {
|
|||||||
* json - {?}
|
* json - {?}
|
||||||
*/
|
*/
|
||||||
dispatch: function(callback, request, transport, json) {
|
dispatch: function(callback, request, transport, json) {
|
||||||
|
var responder;
|
||||||
for (var i = 0; i < this.responders.length; i++) {
|
for (var i = 0; i < this.responders.length; i++) {
|
||||||
responder = this.responders[i];
|
responder = this.responders[i];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user