Permalink
Browse files

Fix for Ticket #953

Second fix
Accidentally removed the wrong line - corrected and remove the correct line.
  • Loading branch information...
1 parent 1d62615 commit 032504ea38e71f9745a4f6b4c4180caa4ea9fd15 @ianwallen ianwallen committed Feb 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/src/main/webapp/scripts/gn_search.js
@@ -1178,12 +1178,12 @@ function toggleWhen() {
function addWMSLayer(layers) {
Ext.getCmp("north-map-panel").expand();
- mainViewport.doLayout();
GeoNetwork.mapViewer.addWMSLayer(layers);
}
function addWMSServerLayers(url) {
Ext.getCmp("north-map-panel").expand();
+ mainViewport.doLayout();
GeoNetwork.mapViewer.addWMSServerLayers(url);
}

0 comments on commit 032504e

Please sign in to comment.