From a6d0f4ee8a64068979b1a4d8eec48dc0da76a5d5 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Thu, 25 May 2023 16:48:02 +0800 Subject: [PATCH] * Disable link when page load as iframe. --- module/execution/view/view.html.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/module/execution/view/view.html.php b/module/execution/view/view.html.php index 9e5f331f2e..90713f5c6c 100644 --- a/module/execution/view/view.html.php +++ b/module/execution/view/view.html.php @@ -142,9 +142,17 @@ 8) break;?>
- createLink('doc', 'showFiles', "type=execution&objectID=$execution->id"), " " . $docLib->name);?> + + " . $docLib->name;?> + + createLink('doc', 'showFiles', "type=execution&objectID=$execution->id"), " " . $docLib->name);?> + - createLink('execution', 'doc', "objectID={$execution->id}&libID=$libID"), " " . $docLib->name, '', "data-app='execution' title='$docLib->name'");?> + + " . $docLib->name;?> + + createLink('execution', 'doc', "objectID={$execution->id}&libID=$libID"), " " . $docLib->name, '', "data-app='execution' title='$docLib->name'");?> +