From 085439d57e2cc4639aeb06e6b2a6d74300eae97a Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 25 Apr 2017 10:55:23 +0100 Subject: [PATCH] fix #87 Former-commit-id: d62f43866b600179f9ea28f6e25b1569e56f00a4 [formerly 2ad304088437e221102a3ce41c58816d28a2c252] [formerly a60991ac7681a3a9fd5dec0b44df6652d5ef7a75 [formerly 31f035cb19f126576686d2698681b1dc9fdbcac2]] Former-commit-id: 46c2ec164e41977e168f5e401f79c64b1b4a7bfe [formerly 1bc9a0fee45cc2701ef57750c002383005de0887] Former-commit-id: c68a24f3a958a244a2022fcb30a04db3b99d70c3 --- _embed/public/js/listing.js | 3 +-- assets/binary.go.REMOVED.git-id | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/_embed/public/js/listing.js b/_embed/public/js/listing.js index 678ed63e..e11ccd7d 100644 --- a/_embed/public/js/listing.js +++ b/_embed/public/js/listing.js @@ -528,8 +528,6 @@ document.addEventListener('DOMContentLoaded', event => { buttons.download = document.getElementById('download') buttons.move = document.getElementById('move') - buttons.move.addEventListener('click', listing.moveEvent) - document.getElementById('multiple-selection-activate').addEventListener('click', event => { listing.selectMultiple = true clickOverlay.click() @@ -546,6 +544,7 @@ document.addEventListener('DOMContentLoaded', event => { }) if (user.AllowEdit) { + buttons.move.addEventListener('click', listing.moveEvent) buttons.rename.addEventListener('click', listing.rename) } diff --git a/assets/binary.go.REMOVED.git-id b/assets/binary.go.REMOVED.git-id index 71568866..7d50f731 100644 --- a/assets/binary.go.REMOVED.git-id +++ b/assets/binary.go.REMOVED.git-id @@ -1 +1 @@ -47a317d31e5cc5c338be174795c888342611b7d6 \ No newline at end of file +87559c62da6283a45d7fb2271a25476c6a3fdf2a \ No newline at end of file