https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40788
--- Comment #33 from Pedro Amorim (ammopt) <[email protected]> --- Created attachment 207807 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207807&action=edit Bug 40788: (RM follow-up) Add koha:vue-loaded to circulation triggers, fire it after router is ready there and in record sources Test plan: 1) Apply the patches and run: yarn js:build 2) Add the following to 'IntranetUserJS': document.addEventListener("koha:vue-loaded", function(e) { console.log("Vue loaded:", e.detail.module); }); 3) Open the browser console and go to http://localhost:8081/cgi-bin/koha/admin/record_sources => console shows "Vue loaded: admin/record_sources" 4) Go to http://localhost:8081/cgi-bin/koha/admin/circulation_triggers => console shows "Vue loaded: admin/circulation_triggers" 5) On both pages, confirm the event fires only once per page load 6) Run the existing Cypress tests to confirm nothing else broke: yarn cypress run --spec t/cypress/integration/VueFramework_spec.ts Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Pedro Amorim <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
