Changeset 5536


Ignore:
Timestamp:
29/07/09 11:36:25 (10 years ago)
Author:
pnorton
Message:

Fixed a problem with the newly modified URL code, its not not using the URL in the response but re-creating a new one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/branches/qesdi/cowsclient/public/js/legendContainer.js

    r5534 r5536  
    2424            if (this.currentWMCLayer != null && this.currentOLLayer != null) { 
    2525                var style = this.currentOLLayer.params['STYLES']; 
     26                WMSC.log("Style = " + style); 
    2627                var url = this.currentWMCLayer.getLegendURL(style); 
    2728                if (url != null) { 
     29                         
     30                        //!TODO:  Should use the retieved url, not re-make it 
     31                        url = this.currentOLLayer.getFullRequestString({ 
     32                                        REQUEST: 'GetLegend', 
     33                        }); 
     34                         
    2835                        this.loadNewLegend(url); 
    2936                } 
Note: See TracChangeset for help on using the changeset viewer.