mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-18 23:42:17 +00:00
Fixed: Now Nachweisdokument- and Detail-Links clickable after table update
Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
@@ -21,6 +21,7 @@ function func_tableBuilt(table) {
|
||||
table.addColumn(
|
||||
{
|
||||
title: "Details",
|
||||
field: 'details',
|
||||
align: "center",
|
||||
width: 100,
|
||||
formatter: "link",
|
||||
@@ -66,6 +67,10 @@ function func_rowUpdated(row){
|
||||
// Deselect and disable new selection of updated rows
|
||||
row.deselect();
|
||||
row.getElement().style["pointerEvents"] = "none";
|
||||
|
||||
// ...but leave url links selectable
|
||||
row.getCell('dokument_bezeichnung').getElement().firstChild.style["pointerEvents"] = "auto";
|
||||
row.getCell('details').getElement().firstChild.style["pointerEvents"] = "auto";
|
||||
}
|
||||
|
||||
// Returns tooltip
|
||||
|
||||
@@ -21,6 +21,7 @@ function func_tableBuilt(table) {
|
||||
table.addColumn(
|
||||
{
|
||||
title: "Details",
|
||||
field: 'details',
|
||||
align: "center",
|
||||
width: 100,
|
||||
formatter: "link",
|
||||
@@ -64,6 +65,10 @@ function func_rowUpdated(row){
|
||||
// Deselect and disable new selection of updated rows
|
||||
row.deselect();
|
||||
row.getElement().style["pointerEvents"] = "none";
|
||||
|
||||
// ...but leave url links selectable
|
||||
row.getCell('dokument_bezeichnung').getElement().firstChild.style["pointerEvents"] = "auto";
|
||||
row.getCell('details').getElement().firstChild.style["pointerEvents"] = "auto";
|
||||
}
|
||||
|
||||
// Returns tooltip
|
||||
|
||||
Reference in New Issue
Block a user