Bugzilla – Bug 8972
Alarm sliders in web ui allow non-numeric inputs
Last modified: 2008-12-15 11:59:02 UTC
Created attachment 3721 [details] Add validators to alarm prefs You can enter non-numeric values for the slider controls in the alarm web ui. Example, you can set snooze time to zz. This probably shouldn't be possible even without underlying preference validators defined. The attached patch sets pref validators for the underlying prefs, but this still doesn't quite fix the problem. The red/green js validation in the web ui only seems to apply if both low and high values are defined for intlimit. As a result, entering zz gets a red input field for volume, but not for snooze length or timeout.
change 22339 - sanity check input values for sliders, don't accept non-numerical values (this is not limited to alarm use, but any slider input)
change 22341 - added your validators to the backend. They don't work nicely in the web UI though, as the seconds based values are translated to minutes in the web UI.
Verified fixed in SqueezeCenter 7.2-22900 NOTE: Sliders are available in the MAC build but not the Windows build
Sliders are platform independant. Only IE6 can't display them. Should be fine on any other browser.
This bug has been fixed in the latest release of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.