Summary: | Allow definition of "None" audio alert | ||
---|---|---|---|
Product: | Koha | Reporter: | Andrew Fuerste-Henry <andrew> |
Component: | Staff interface | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | gmcharlt |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Andrew Fuerste-Henry
2023-07-12 20:47:59 UTC
I usually delete the ones I don't need - did you want to keep it just in case? As we might not want the jQuery to still be run, maybe instead of a none option we could have an Activate/deactivate. (In reply to Katrin Fischer from comment #1) > I usually delete the ones I don't need - did you want to keep it just in > case? So, getting into the specifics: Like the default sandbox setup, we have the critical.ogg sound play on the .audio-alert-warning selector. That means Koha makes a cranky noise in *many* situations. Staff asked if we could keep that noise in all of those situations except 1. They didn't want the noise anymore when checking in an item from a patron with a restriction. Theoretically I could have figured out a way to use CSS or jQuery to specify ".audio-alert-warning NOT .ret_foreverdebarred." Or I could have deleted the .audio-alert-warning trigger and replaced it with distinct triggers for all of the other instances that used to rely on the warning trigger. But what I ended up doing, and would like to make more official, is essentially defining an audio alert exception. So, actually, maybe that's the enhancement: allow definition of exceptions within an audio alert. |