Browse Source

fixed bug with missing OpenLayers when no geom fields

Piotr Labudda 8 years ago
parent
commit
916c055359
1 changed files with 2 additions and 1 deletions
  1. 2 1
      SE/se-lib/TableAjax.php

+ 2 - 1
SE/se-lib/TableAjax.php

@@ -268,7 +268,8 @@ class TableAjax extends ViewAjax {
 	public function render() {
 		$acl = $this->_acl;
 		$hasGeomFlds = Core_AclHelper::hasGeomFields($acl);
-		$tblAjaxMap = ($hasGeomFlds) ? new TableAjaxMap($acl, 512, 400) : null;
+		// $tblAjaxMap = ($hasGeomFlds) ? new TableAjaxMap($acl, 512, 400) : null;
+		$tblAjaxMap = new TableAjaxMap($acl, 512, 400);
 		$hasPermCreate = Core_AclHelper::hasCreatePerms($acl);
 
 		$jsToogleFiltrProcesuFunctionName = 'tableAjaxToggleFiltrProcesInit';