Custom Query (7259 matches)


Show under each result:

Results (112 - 114 of 7259)

Ticket Resolution Summary Owner Reporter
#2412 fixed ui.slider 1.5b has this.currentHandle error in IE 6-7 eduardo wavded

With the new slider 1.5b, I get the following error when I start to drag the handle on IE:

'this.currentHandle' is null or not an object

I have a test site setup so you can see the issue, it is at

Hopefully its an easy fix. Great job on everything.


#2500 fixed ui.slider - moveTo assumes string-value is always relative paul joern

In the current moveTo implementation, if the value is a string, its always handled as a relative value. Instead it should be checked if the value really starts with +=, and applying the relative stuff only then.

This works quite well:

if(value.constructor == String) {
	if (/^\-\=/.test(value) ) {
		value = this.value() - parseInt(value.replace('-=', ''), 10)
	} else if (/^\+\=/.test(value) ) {
		value = this.value() + parseInt(value.replace('+=', ''), 10)
	} else {
		value = parseInt(value, 10);
#2508 notabug ui.slider - Specified axis gets overwritten by "auto detection" paul joern

This code initializes the options:

//Prepare the passed options
this.options = $.extend({}, options);
var o = this.options;
$.extend(o, {
	axis: o.axis || (element.offsetWidth < element.offsetHeight ? 'vertical' : 'horizontal'),
	maxValue: !isNaN(parseInt(o.maxValue,10)) ? parseInt(o.maxValue,10) :  100,
	minValue: parseInt(o.minValue,10) || 0

The docs say, for axis:

Normally you don't need to set this option because the plugin detects the slider orientation automatically. If the orientation is not correctly detected you can set this option to 'horizontal' or 'vertical'.

Looks to me like the specified option is always overwritten by the autodetection.

Note: See TracQuery for help on using queries.