You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jo...@apache.org on 2022/03/13 17:17:46 UTC

[isis] 03/03: ISIS-2957 clicking bubble opens EventLogDetail

This is an automated email from the ASF dual-hosted git repository.

joergrade pushed a commit to branch ISIS-2957
in repository https://gitbox.apache.org/repos/asf/isis.git

commit af7efcb278e03eb6917d1f99ecdba7dccacdedf3
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Sun Mar 13 18:17:16 2022 +0100

    ISIS-2957 clicking bubble opens EventLogDetail
---
 .../org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt      | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt
index 009c541..9358fe7 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/panel/EventBubbleChart.kt
@@ -37,10 +37,6 @@ fun openLogEntry(i: Int) {
     EventLogDetail(logEntry).open()
 }
 
-@OptIn(kotlin.js.ExperimentalJsExport::class)
-@JsExport
-fun foo() = "Hello"
-
 class EventBubbleChart() : SimplePanel() {
     private val model = SessionManager.getEventStore()
     private val logStart = model.getLogStartMilliSeconds()
@@ -82,9 +78,7 @@ class EventBubbleChart() : SimplePanel() {
                         + "var element = e.chart.getElementsAtEventForMode(e, 'nearest', {intersect: true}, true);"
                         + "if (element.length > 0) {"
                         + "var i = element[0].index;"
-                        + "console.log(i);"
                         + "kroviz.org.apache.isis.client.kroviz.ui.panel.openLogEntry(i);"
-                        + "alert(kroviz.org.apache.isis.client.kroviz.ui.panel.hello());"
                         + "}"
                         + "}"
             ),