Bug 26794

Summary: Item transfer modal may close automatically after a delay
Product: Koha Reporter: Arthur Suzuki <arthur.suzuki>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: RESOLVED WONTFIX QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Arthur Suzuki 2020-10-23 09:16:43 UTC
Hi Koha,
We got complains from users that the new item transfer modal is not convenient when using barcode scanner and mouse/keyboard is unavailable.

I've made a small javascript to add in intranetuserjs that closes this modal after a delay (here, 3 secs).

Some colleagues of mine told me I shall open a BZ to document this, there it is :

<pre>
/* Close item transfer modal after 3sec */
$('#item-transfer-modal').on('shown.bs.modal', function (e) {
  window.setTimeout(function () {$('#item-transfer-modal').modal('hide')}, 3000)
});
</pre>

Best,
Arthur from BibLibre's Koha Support
Comment 1 Katrin Fischer 2023-12-09 13:57:22 UTC
Hi Arthur, is this still an issue?
Comment 2 Owen Leonard 2024-04-24 14:55:42 UTC
This seems like a very specific set of circumstances. Aren't there lots of possible modal instances that require keyboard or mouse interaction?
Comment 3 Arthur Suzuki 2025-01-17 15:40:36 UTC
Well, this is very specific...
And old...
And we probably have many other bugs to solve...
I'll put this one in "resolve - wontfix" since its not a blocking issue.