[GeoNetwork-devel] Syntax errors in file MapStateManager.js

Hi,

the Javascript file scripts/map/core/MapStateManager.js has some minor
syntax errors which are ignored by firefox browser but not by IE browser.
The errors are:

- missing semicolon at the end of lines 30 (var mapLayers = "":wink: and 31 (var
mapExtent = "":wink:
- missing braces for the if-statements in line 95 (if (cookietext.length >
0) {cookietext = cookietext+LAYER_SEP;}) and line 169 (if (opacity)
{ol_layer.setOpacity(parseFloat(opacity));})
- const is not allowed in this context and must be replaced by var.

Regards,
JΓΌrgen
     
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Syntax-errors-in-file-MapStateManager-js-tp5361761p5361761.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.