From 98bab18d919a44539981b1e4443e638a34238322 Mon Sep 17 00:00:00 2001 From: David Lynch Date: Tue, 28 Mar 2023 22:55:45 -0500 Subject: [PATCH] Log an EditAttemptStep session-abort when refreshing the page contents Depends-On: I0092789a425ed92e90c71b2125b195b61dcb49c3 Bug: T301582 Change-Id: I2ba94bf9ca28718dac69bb4b2b431471eff63abc --- modules/dt.ui.ReplyWidget.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/dt.ui.ReplyWidget.js b/modules/dt.ui.ReplyWidget.js index 4609a2cd1..8702ec1ed 100644 --- a/modules/dt.ui.ReplyWidget.js +++ b/modules/dt.ui.ReplyWidget.js @@ -966,6 +966,11 @@ ReplyWidget.prototype.onNewCommentsShowClick = function () { feature: 'notificationNewComments', action: 'page-update' } ); + mw.track( 'editAttemptStep', { + action: 'abort', + mechanism: 'navigate', + type: 'pageupdate' + } ); }; /**