Fix download panel not showing on rclick after pressing esc

Bug: T86389
Change-Id: Ic158c579c4a7a6e48bcbd9cdfb724712b1e2fece
This commit is contained in:
m4tx 2015-01-13 01:06:59 +01:00
parent af1e9ac4e9
commit b2aaae4b19

View file

@ -242,8 +242,6 @@
this.currentlyAttached = false;
this.canvas.unattach();
this.buttons.unattach();
this.$postDiv.off( '.lip' );
@ -258,6 +256,9 @@
this.optionsDialog.unattach();
this.optionsDialog.closeDialog();
// Canvas listens for events from dialogs, so should be unattached at the end
this.canvas.unattach();
this.clearEvents();
// We trigger this event on the document because unattach() can run