From 3c3464fe9c1b2817d0caffcebe0ef7bae890a609 Mon Sep 17 00:00:00 2001 From: ivmartel Date: Thu, 23 Jun 2022 18:01:07 +0200 Subject: [PATCH] Add loadid and isfirstitem to loaditem events, fixes #1180 --- src/app/application.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/application.js b/src/app/application.js index 83b0e72dea..b1b2a441c2 100644 --- a/src/app/application.js +++ b/src/app/application.js @@ -1031,7 +1031,9 @@ dwv.App = function () { type: 'loaditem', data: eventMetaData, source: event.source, - loadtype: event.loadtype + loadtype: event.loadtype, + loadid: event.loadid, + isfirstitem: event.isfirstitem }); // render if first and flag allows