don't translate error message and replace console log with exception
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
* @requires OpenLayers/Layer/Vector.js
|
||||
* @requires OpenLayers/Request/XMLHttpRequest.js
|
||||
* @requires OpenLayers/Console.js
|
||||
* @requires OpenLayers/Lang.js
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -167,7 +166,7 @@ OpenLayers.Layer.GML = OpenLayers.Class(OpenLayers.Layer.Vector, {
|
||||
* request - {String}
|
||||
*/
|
||||
requestFailure: function(request) {
|
||||
OpenLayers.Console.userError(OpenLayers.i18n("errorLoadingGML", {'url':this.url}));
|
||||
OpenLayers.Console.userError('Error in loading GML file ' + this.url);
|
||||
this.events.triggerEvent("loadend");
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user