Skip to content
Permalink
Browse files

fix

  • Loading branch information
uprel committed Jan 19, 2020
1 parent 97146ac commit 6145bcd1fe1627de477b7775319bb04ccb3e6173
Showing with 4 additions and 3 deletions.
  1. +4 −3 client/site/js/WebgisInit_functions.js
@@ -1653,8 +1653,10 @@ function showSearchPanelResults(searchPanelInstance, features) {

// Make sure it's shown and expanded
targetComponent.show();
targetComponent.collapsible && targetComponent.expand();

if (searchPanelInstance.resultsGrid == null) {
targetComponent.expand();
}
break;
case 'popup':
var win = Ext.getCmp('window_'+searchPanelInstance.selectionLayer);
@@ -1928,11 +1930,10 @@ function showSearchPanelResults(searchPanelInstance, features) {
}
});


targetComponent.doLayout();
// Always make sure it's shown and expanded
searchPanelInstance.resultsGrid.show();
searchPanelInstance.resultsGrid.collapsible && searchPanelInstance.resultsGrid.expand();
//searchPanelInstance.resultsGrid.collapsible && searchPanelInstance.resultsGrid.expand();

//zoom to the extent from GetFeatureInfo results
//var bx = searchPanelInstance.store.totalBbox;

0 comments on commit 6145bcd

Please sign in to comment.
You can’t perform that action at this time.