aims-ks / atlasmapper

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

Can't remove layer - v2.0.19 #148

Closed gaellafond closed 4 years ago

gaellafond commented 4 years ago

Layers can't be removed since AtlasMapper version 2.0.19. It throws an exception in the JavaScript console.

gaellafond commented 4 years ago

Fixed in v2.0.20

gaellafond commented 4 years ago

Cause In 2.0.19, I added a function on the Welcome Window, to destroy the window when closed. That was done to prevent videos in the welcome window from continuing playing after closing the window. Unfortunately, ExtJS re-use that window for other similar message (like the warning message when deleting a layer). SInce the window was destroyed, the warning message could not be displayed.

Solution Replace the Welcome Window (Ext.Msg.show) with a manually build Ext.Window.