GeoNode/geonode-client — pull request #7 by MINDoSOFT (2011-11-14 08:57:57+00:00)
Title: Fix ows wrong initialization value

This fixes the wrong download links displayed for layers when creating a map in geonode.

Before :
http://demo.geonode.org/maps/undefinedows?service=wms&request=GetMap&bbox=-85.79213573101187%2C7.660731888613772%2C-82.60604171999445%2C11.783912373459842&layers=geonode%3Aaeropuertos&srs=EPSG%3A4326&width=425&height=550&format=application%2Fpdf

After:
http://192.168.10.15:8001/geoserver/ows?service=wms&request=GetMap&bbox=-88.003%2C9.400499999999994%2C-82.597%2C16.396500000000003&layers=geonode%3ANIC_0.5s_1000y&srs=EPSG%3A4326&width=425&height=550&format=application%2Fpdf

this.localGeoServerBaseUrl that was used before to initialize ows was undefined.
Should use config.localGeoServerBaseUrl which is defined