Skip to main content

Search and Top Navigation

#3282 closed enhancement (fixed)

Opened September 03, 2008 07:49PM UTC

Closed January 28, 2009 10:19PM UTC

slider: support floating values, set number of decimals

Reported by: herve Owned by: paul
Priority: minor Milestone: 1.7
Component: ui.slider Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

For the needs of a math project, I had to modify slider to support floating values. It was rounding everything but I needed a two-decimal precision.

So I modified the source code and now I contribute it.

Basically, I added the functions "round" and "parse", and used them instead of "Math.round" and "parseInt".

I tried to stick with the coding style. The attached patch is in git format. I'm not confident with the format you expect for subversion. Just tell me so.

This is a ticket for the slider widget, but I didn't find it in the component list.

Attachments (1)
Change History (2)

Changed September 03, 2008 07:52PM UTC by herve comment:1

Please disregard the last sentence. I originally posted this bug on the jquery tracker, before finding out this one.

Changed January 28, 2009 10:19PM UTC by paul comment:2

milestone: TBD1.6
resolution: → fixed
status: newclosed

This works fine now.