justb4 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

ActiveLayersPanel: active layer entries not deleted when 'hropts' undefined #113

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Wolfram Winter - Deutsche Bahn:

issue # 20
----------
'hr_activelayerspanel' - with a missing 'hropts' entry all active layer entries 
are not
deleted when switching off the active layer panel
    ...
    { xtype: 'hr_activelayerspanel',
      id: 'gui_ActiveLayers'
    }
    ...

status issue # 20: fixed
-----------------

In 'LayerLegendPanel.js' the line 103 must be commented:
// id: "hr-activelayers",

line 144-150 are changed to:

    createNode : function(self, attr) {
        if (self.hropts) {
            Ext.apply(attr, self.hropts);
        } else {
            Ext.apply(attr, {} );
        }
        self.applyStandardNodeOpts(attr, attr.layer);
        ...

New 'drag_vh.png' and 'drag_v.png' icons - in 'default.css' new 
.gx-activelayer-drag-icon
(vertical design)

Original issue reported on code.google.com by jus...@gmail.com on 10 Jul 2012 at 1:01

GoogleCodeExporter commented 9 years ago

Original comment by jus...@gmail.com on 17 Jul 2012 at 12:12