From a320f1e5e6bfa75db1ec39fe1767ecf36b869ecd Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 28 Dec 2022 13:58:03 +1100 Subject: [PATCH] fix BUG-110 (Enter key not submitting MoveDBox --- internal/js/files_support.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/js/files_support.js b/internal/js/files_support.js index e41639a..d859a26 100644 --- a/internal/js/files_support.js +++ b/internal/js/files_support.js @@ -95,12 +95,14 @@ function MoveDBox(path_details, db_url)
- +
` $('#dbox-content').html(div) $('#dbox').modal('show') + $("#prefix").keypress(function (e) { if (e.which == 13) { $("#move_submit").click(); return false; } } ) + $("#suffix").keypress(function (e) { if (e.which == 13) { $("#move_submit").click(); return false; } } ) } // show the DBox for a delete/restore file, includes all thumbnails of selected files