diff --git a/source/Ox.UI/js/List/InfoList.js b/source/Ox.UI/js/List/InfoList.js index 74b282fa..d19e7432 100644 --- a/source/Ox.UI/js/List/InfoList.js +++ b/source/Ox.UI/js/List/InfoList.js @@ -41,7 +41,7 @@ Ox.InfoList = function(options, self) { var width = getItemWidth(); $('.OxInfoElement').each(function() { var $parent = $(this).parent(), - id = parseInt(/OxId(.*?)$/.exec(this.className)[1]); + id = parseInt(/OxId(.*?)$/.exec(this.className)[1], 10); $parent.css({width: width - 144}); $parent.parent().css({width: width - 144}); $parent.parent().parent().css({width: width - 8}); @@ -149,7 +149,7 @@ Ox.InfoList = function(options, self) { .addClass('OxInfoElement'); data.info.css && $element.css(data.info.css); data.info.events && $element.bindEvent(data.info.events); - $element.addClass('OxId' + $element.id); // fixme: needed? + $element.addClass('OxId' + $element.oxid); // fixme: needed? $infobox.append($element); } return $item;