Skip to content
Snippets Groups Projects
Commit d2a2075f authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

#1057422 Notifications: rowClickAction deleted, refreshAll deleted

parent 7cdc5db5
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
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
......@@ -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
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment