From fd252c28d27d82d051bd0b746d8403139525a3a3 Mon Sep 17 00:00:00 2001 From: beu Date: Fri, 25 Jul 2025 17:04:40 +0200 Subject: [PATCH] fix clipboard if no tooltip --- libs/FML/Script/Features/Clipboard.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/FML/Script/Features/Clipboard.php b/libs/FML/Script/Features/Clipboard.php index 6ea94b04..bb76ced3 100644 --- a/libs/FML/Script/Features/Clipboard.php +++ b/libs/FML/Script/Features/Clipboard.php @@ -71,6 +71,9 @@ class Clipboard extends ScriptFeature } $this->control = $control; + if ($this->control instanceof Scriptable) { + $this->control->setScriptEvents(true); + } if ($this->value !== null) { $this->setValue($this->value);