Sfoglia il codice sorgente

fixed missing tooltip in TableAjax cells

Piotr Labudda 10 anni fa
parent
commit
db00a7d40e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      SE/se-lib/TableAjax.php

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

@@ -1087,6 +1087,7 @@ class TableAjax extends ViewAjax {
 				val = '';
 				if (!columnProps) continue;
 				if (columnProps.hidden) continue;// TODO: "unique" is hidden
+				showTooltip = true;
 
 				val = props[columnName];
 				cellNode = $('<td></td>').appendTo(rowNode);
@@ -1108,8 +1109,7 @@ class TableAjax extends ViewAjax {
 					cellCnt.append(fldWidgetNode);
 				} else if (fldWidgetNode === '') {
 					cellCnt.empty();
-				}
-				else {
+				} else {
 					console.log('TODO: !FieldWidget for row.pk('+rowPK+') col('+columnName+') typeof fldWidgetNode(' + (typeof fldWidgetNode) + ')');
 				}// test fld widgets