From d2a2075f825bbccc5ed37f98bbaf42f7ffe77779 Mon Sep 17 00:00:00 2001
From: "a.schindlbeck" <a.schindlbeck@adito.de>
Date: Wed, 10 Jun 2020 14:04:32 +0200
Subject: [PATCH] #1057422 Notifications: rowClickAction deleted, refreshAll
 deleted

---
 entity/Notification_entity/Notification_entity.aod   |  4 ----
 .../entityfields/rowclickaction/onActionProcess.js   | 12 ------------
 .../children/setread/onActionProcess.js              |  2 +-
 .../NotificationFilter_view.aod                      |  2 +-
 4 files changed, 2 insertions(+), 18 deletions(-)
 delete mode 100644 entity/Notification_entity/entityfields/rowclickaction/onActionProcess.js

diff --git a/entity/Notification_entity/Notification_entity.aod b/entity/Notification_entity/Notification_entity.aod
index e337c20729d..e60a97235ff 100644
--- a/entity/Notification_entity/Notification_entity.aod
+++ b/entity/Notification_entity/Notification_entity.aod
@@ -120,10 +120,6 @@
         </entityActionField>
       </children>
     </entityActionGroup>
-    <entityActionField>
-      <name>rowClickAction</name>
-      <onActionProcess>%aditoprj%/entity/Notification_entity/entityfields/rowclickaction/onActionProcess.js</onActionProcess>
-    </entityActionField>
     <entityField>
       <name>RESOLVEDPRIORITY</name>
       <title>priority</title>
diff --git a/entity/Notification_entity/entityfields/rowclickaction/onActionProcess.js b/entity/Notification_entity/entityfields/rowclickaction/onActionProcess.js
deleted file mode 100644
index 5ee955fd638..00000000000
--- a/entity/Notification_entity/entityfields/rowclickaction/onActionProcess.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import("system.vars");
-import("system.tools");
-import("system.notification");
-import("system.neon");
-
-var user = tools.getCurrentUser();
-var selectedNotifications = vars.get("$sys.selection");
-
-for(var i = 0; i < selectedNotifications.length; i++)
-    notification.updateUserNotificationState(user["name"], selectedNotifications[i], notification.STATE_CONFIRMED);
-
-neon.refresh();
\ No newline at end of file
diff --git a/entity/Notification_entity/entityfields/setnotificationstate/children/setread/onActionProcess.js b/entity/Notification_entity/entityfields/setnotificationstate/children/setread/onActionProcess.js
index 5ee955fd638..608c454e87c 100644
--- a/entity/Notification_entity/entityfields/setnotificationstate/children/setread/onActionProcess.js
+++ b/entity/Notification_entity/entityfields/setnotificationstate/children/setread/onActionProcess.js
@@ -9,4 +9,4 @@ var selectedNotifications = vars.get("$sys.selection");
 for(var i = 0; i < selectedNotifications.length; i++)
     notification.updateUserNotificationState(user["name"], selectedNotifications[i], notification.STATE_CONFIRMED);
 
-neon.refresh();
\ No newline at end of file
+//neon.refreshAll();
\ No newline at end of file
diff --git a/neonView/NotificationFilter_view/NotificationFilter_view.aod b/neonView/NotificationFilter_view/NotificationFilter_view.aod
index bb14afb0a26..a2eda9d9af1 100644
--- a/neonView/NotificationFilter_view/NotificationFilter_view.aod
+++ b/neonView/NotificationFilter_view/NotificationFilter_view.aod
@@ -38,7 +38,7 @@
       <name>NotificationTable</name>
       <favoriteActionGroup1>setNotificationState</favoriteActionGroup1>
       <inlineEdit v="true" />
-      <entryAction>rowClickAction</entryAction>
+      <entryAction></entryAction>
       <iconField>ICON</iconField>
       <titleField>CAPTION</titleField>
       <subtitleField>RESOLVEDPRIORITY</subtitleField>
-- 
GitLab