Skip to content

Commit

Permalink
Fix mobile not adding projection to the list if missing definition
Browse files Browse the repository at this point in the history
  • Loading branch information
uprel committed May 7, 2019
1 parent 0397dd7 commit 335c165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/site/js/WebgisInit_functions.js
Expand Up @@ -1054,7 +1054,7 @@ function postLoading() {
qgisSearchCombo = new GeoExt.ux.GeocodingSearchCombo({
map: geoExtMap.map,
highlightLayerName: 'attribHighLight',
width: geoExtMap.getWidth() / 3,
width: Math.round(geoExtMap.getWidth()/3),
minChars: 2,
loadingText: geonamesLoadingString[lang],
emptyText: geonamesEmptyString[lang],
Expand All @@ -1072,7 +1072,7 @@ function postLoading() {
map: geoExtMap.map,
highlightLayerName: 'attribHighLight',
hasReverseAxisOrder: false, // PostGIS returns bbox' coordinates always x/y
width: geoExtMap.getWidth() / 3,
width: Math.round(geoExtMap.getWidth()/3),
searchtables: searchtables,
emptyText: (projectData.wsgi && projectData.wsgi.emptytext) ? projectData.wsgi.emptytext : searchFieldDefaultTextString["en"],
url: searchBoxQueryURL,
Expand Down

0 comments on commit 335c165

Please sign in to comment.