Giter VIP home page Giter VIP logo

Comments (3)

Pilvedore avatar Pilvedore commented on July 17, 2024

Hi,

I have posted a patch which will resolve the plugin Error 500 issues in Koha 21.05 and 21.11, while retaining functionality in Koha versions prior to 21.05.

My JavaScript skills are a little rusty, but I plan to address the issues present in the labelling soon. I'll attach the pull request to this issue when the time arises.

Thanks,
Jake Deery

from edsapi-koha-plugin.

mmabrahamson avatar mmabrahamson commented on July 17, 2024

Please test the kpz in PR #118 . I've implemented PR #117 there and much of what is discussed here is addressed.

As a note, StartEDS('default') should not be required in OpacUserJS. By hardcoding "default", it would disable the ability for it to leverage languages of the user. If StartEDS is not running, it's possible there's something going wrong with the detection of the language and it's not switching to default when no language file is created, or it's possible that the default language file is not being found. StartEDS should run automatically once the plugin is installed with no customization required, but I'm also happy to continue this discussion if you're encountering more issues.

from edsapi-koha-plugin.

mmabrahamson avatar mmabrahamson commented on July 17, 2024

Note that after update, you MUST go into the configuration and save the configuration of the plugin. This will trigger a template that generates an updated JS file.

from edsapi-koha-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.