From ce4256cd786c41b6a2fddbd25eacb6812842f2c2 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 28 Feb 2023 17:50:38 +0100 Subject: [PATCH] wait #5761 @0.25 --- resources/linkeditor/js/linkeditor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/linkeditor/js/linkeditor.js b/resources/linkeditor/js/linkeditor.js index ae774af1d..b95f3d8db 100644 --- a/resources/linkeditor/js/linkeditor.js +++ b/resources/linkeditor/js/linkeditor.js @@ -356,6 +356,10 @@ LinkEditor.prototype = { }, changePage: function (page) { + // Save and deselect all links + this.links.deselectAllLinks(); + this.form.emptyForm(); + var $this = this; this.maskHashEvent = true; setTimeout(function () { -- 2.39.5