Explorar o código

fixed bug with missing OpenLayers when no geom fields

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
916c055359
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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';