[Koha-bugs] [Bug 28940] New: IntranetUserJS will fire off twice
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Sep 1 20:59:24 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28940
Bug ID: 28940
Summary: IntranetUserJS will fire off twice
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Label/patron card printing
Assignee: cnighswonger at foundations.edu
Reporter: lucas at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
TO recreate:
Add some IntranetUserJS that will target spinelabel-print.tt. I added this:
if ( $('#labels_spinelabel-print').length ) {
$('#labels_spinelabel-print').append('<div>TEST</div>');
console.log('TEST');
}
Try to do a quick spine label. Once you have entered a barcode the JS will go
off 2x. With the jQuery added you will see 2 div's with the word 'TEST'.
Look at the console and you will also see TEST console logged 2x.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list