Explorar o código

added dbg msg in ViewTableAjax

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
4ef2b0e9c8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      SE/se-lib/Route/ViewTableAjax.php

+ 1 - 0
SE/se-lib/Route/ViewTableAjax.php

@@ -526,6 +526,7 @@ class Route_ViewTableAjax extends RouteBase {
 		$tabindex = 0;
 		foreach ($fieldsList as $kID => $vCol) {
 			$fieldName = $vCol['name'];
+			DBG::log(['$fieldName'=>$fieldName, '$record'=>$record, 'canWrite'=>$acl->canWriteObjectField($fieldName, $record), 'canRead'=>$acl->canReadObjectField($fieldName, $record)], 'array', "form field");
 			if ($acl->canWriteObjectField($fieldName, $record)) {
 				DBG::log("editFormJson::field({$fieldName})");
 				$fieldParams = [ 'appendBack' => true, 'tabindex' => (++$tabindex), 'maxGrid' => 8 ];