Skip to content

fix sound toggle bug #591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 16, 2017
Merged

Conversation

ornoone
Copy link
Contributor

@ornoone ornoone commented Oct 13, 2017

version

Shinken 2.4.3 — Web User Interface 2.6.1,

page

all (bug in layout)

expected behavior

when i click on the toggle sound icon, it should enable the sound, and change the icon of the button to remove the .fa-ban

current behavior

clicking on the button do absolutly nothing.

fix

I found in shinken-layout.js that the block that manage the event on this button is surounded by a If which check if a outdated ID exists. i fix it by changing this query by id #alert-audio with a query by class .js-toggle-sound-alert which target the same item, and is uniq.

@maethor
Copy link
Contributor

maethor commented Oct 16, 2017

Sound good to me. Thank you @ornoone !

@maethor maethor merged commit ef5f2e3 into shinken-monitoring:develop Oct 16, 2017
@ornoone ornoone deleted the fix-sound-toggle branch October 17, 2017 09:21
@maethor
Copy link
Contributor

maethor commented Oct 19, 2017

@ornoone 2.7.0 is now published, with this patch. Thanks again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants