Explorar o código

fixed DBG in TableAjax

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

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

@@ -1155,7 +1155,7 @@ class TableAjax extends ViewAjax {
 				}
 				if ('ref' === columnProps.type) showTooltip = false;
 				if ('ref' === columnProps.type) cellNode.css('padding', "3px")
-				if ('ref' === columnProps.type) console.log('renderRow rowPK('+rowPK+') columnProps', columnProps)
+				if ('ref' === columnProps.type && priv.options.debug) console.log('renderRow rowPK('+rowPK+') columnProps', columnProps)
 				if ('ref' === columnProps.type) cellNode.html('<a href="index.php?_route=ViewTableAjax' +
 					'&namespace=' + columnProps.xsdRefNsPrefix.replace('__x3A__', '/') + '/' + columnProps.xsdRefType +
 					'&backRefNS=' + priv.options.namespace +