https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37033
Bug ID: 37033
Summary: Plugin intranet_js won't load in Cart popup
(intranet-bottom.inc missing)
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Plugin architecture
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
We need to make a modification to the cart view and tried to create a plugin
that injects javascript to the cart view. It won't get applied to
cgi-bin/koha/basket/basket.pl since it's template is missing it's [% INCLUDE
'intranet-bottom.inc' %] which loads the plugin subs called intranet_js to the
browser. I added the code to basket.tt and now the plugin's intranet_js gets
applied to the view.
This issue may occur in similar popup views elsewhere in the Koha intranet too,
where we have decided not to include the intranet-bottom.inc to the browser
view. Should this ticket be made a generic one dealing with all similar
occurences throughout Koha intranet (Z39.50 search for example)? Is there any
downside for having the bottom bar in these views?
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/