From: Jeff Davis Date: Thu, 20 May 2021 21:51:17 +0000 (-0700) Subject: LP#1929136: delay barcode lookup on change in holdings editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cacc12ea0dd8892e89ed3ff15d21b64c33111184;p=Evergreen.git LP#1929136: delay barcode lookup on change in holdings editor In the Holdings Editor, any change to the barcode field results in an immediate API call. Thus, if you type the barcode "123456789", you would get 9 separate calls: 1, 12, 123, 1234, 12345 ... This commit adds a 1000ms delay to avoid excessive pcrud calls when typing a barcode. Signed-off-by: Jeff Davis Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index 57848b4536..ac6a7b8098 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -524,7 +524,7 @@ function(egCore , $q) { '
'+ ''+ '
{{duplicate_barcode_string}}
'+ '
{{empty_barcode_string}}
'+