Explorar o código

fixed ref icon in TableAjax

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
9f796b9341
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

@@ -1502,7 +1502,7 @@ var p5UI_TableAjax_generateFunctionNode = function(funObj, rowPK, props) {
 				else if (props._tsRetId > 0) {
 				else if (props._tsRetId > 0) {
 					nodeTitle = p5Utils__format("Kliknij na pole i przejdź do powiązanych rekordów ({0})", [nodeTitle])
 					nodeTitle = p5Utils__format("Kliknij na pole i przejdź do powiązanych rekordów ({0})", [nodeTitle])
 				}
 				}
-				if ('ref' === props.type && props.friendly === props.column && props.xsdRefType) {
+				if ('ref' === props.type && props.xsdRefType) {
 					nodeLabel = '<i class="glyphicon glyphicon-export"></i> ' + props.xsdRefType
 					nodeLabel = '<i class="glyphicon glyphicon-export"></i> ' + props.xsdRefType
 					if (props.description && props.description.length > 0 && props.description !== column) {
 					if (props.description && props.description.length > 0 && props.description !== column) {
 						nodeTitle = p5Utils__format("{0} (ref {1})", [props.description, column])
 						nodeTitle = p5Utils__format("{0} (ref {1})", [props.description, column])