This question is locked. New answers and comments are not allowed.
In jQuery 1.6+ the attr function will return undefined if the attr doesn't exist (1.5.2 and before would return an empty string). Are there any plans to update the Telerik JS to accommodate this?
I've seen at least one error in telerik.combobox.js (line 42) as a result.
This:
Should be updated to this:
Cheers,
Jonathan
I've seen at least one error in telerik.combobox.js (line 42) as a result.
This:
var $input = this.$input = this.$element.find('input:last') .bind(changePropertyEventName, function (e) { var attr = 'class', classValue = $input.attr(attr) if (classValue != $text.attr(attr)) $text.attr(attr, classValue).addClass('t-input'); });Should be updated to this:
var $input = this.$input = this.$element.find('input:last') .bind(changePropertyEventName, function (e) { var attr = 'class', classValue = $input.attr(attr) if (classValue !== undefined && classValue != $text.attr(attr)) $text.attr(attr, classValue).addClass('t-input'); });Cheers,
Jonathan