From f7d9c66177e3bf2163ea06ef4306c206517d1746 Mon Sep 17 00:00:00 2001 From: Mark Holmquist Date: Wed, 24 Sep 2014 14:05:53 -0700 Subject: [PATCH] Fix bug where download dialog doesn't unattach Change-Id: I02c45bf9d0aea8e92d02cb80f266f6c83633a50c --- resources/mmv/mmv.lightboxinterface.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/mmv/mmv.lightboxinterface.js b/resources/mmv/mmv.lightboxinterface.js index 02281d448..db9a56ebf 100644 --- a/resources/mmv/mmv.lightboxinterface.js +++ b/resources/mmv/mmv.lightboxinterface.js @@ -235,6 +235,9 @@ this.fileReuse.unattach(); this.fileReuse.closeDialog(); + this.downloadDialog.unattach(); + this.downloadDialog.closeDialog(); + this.clearEvents(); // We trigger this event on the document because unattach() can run