aims-ks / atlasmapper

Automatically exported from code.google.com/p/atlasmapper
2 stars 0 forks source link

Options panel not working #110

Closed gaellafond closed 5 years ago

gaellafond commented 6 years ago

Description / Options panels (Info module) are in random order. Sometime the Options panel is first.

The code check to be sure the Options panel index is >0 to be sure it has been initialised. It should check for >= 0.

modules/Info/Info.js

175         setOptions: function(node) {
176                 if (this.optionsTab >= 0 && this.tabs && this.tabs[this.optionsTab]) {
177                         this.tabs[this.optionsTab].setLayerOptions(node);
178                 }
179         }