Toggle Button Image Strange Behaviour

I have a page that I am testing the toggle button image action on. I have a very strange result when I use 2 buttons on the same page.

When I enter the page, everything looks good and the lighting buttons are off. I press on one of them and it turns the light on. I click it again and it turns it off. No problem, seems to work as expected.

Where things get messed up is when I press the other button for controlling a different light. Oddly enough, it doesn't toggle the image on the button I pressed, but it toggles the image on the other unrelated button on the page. From that point on, the buttons are out of sync with the status of the light, on or off.

I have looked at all the properties for the buttons and I can find no common link that should make one affect the other. Any suggestions out there?
1 person has
this problem
+1
Reply