[Koha] How to edit and update JS in KOHA?

Katrin Fischer katrin.fischer.83 at web.de
Sun Jun 12 05:01:20 NZST 2022


Hi David,

I think you probably need to restart Plack in order to see your changes
take effect. You might also need to clear your browser cache in some cases.

Have you seen OpacUserJs and IntranetUserJs system preferences for
adding your own JS to Koha?

Hope this helps,

Katrin

On 11.06.22 14:10, David Tan wrote:
> Hi all,
>
>
>
> I am having some difficulty in understanding how KOHA update JS file.
> Example I edited a function in a JS file located
>
> in "/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/js" directory and
> when
> I refresh the page nothing happen to the page that contain call to the JS
> file.
>
> It seems KOHA page does not recognise the changes I make to the JS file.
>
> Is there additional steps I need to do to get JS file changes to be updated
> correctly in KOHA?
>
>
>
> Appreciate anyone that can point me to the right path.
>
>
>
> David
>
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list