From 8f55d4426556206cd6d4c978d22c5cb24a54b0ef Mon Sep 17 00:00:00 2001 From: Oleg Date: Fri, 25 Nov 2016 10:22:52 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B8=D0=BF=20sorted=20=D0=B8=D0=B7?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=91=D0=BD=20=D0=BD=D0=B0=20object?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kladr/js/kladr.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kladr/js/kladr.js b/kladr/js/kladr.js index 599f505..7c5ba7d 100644 --- a/kladr/js/kladr.js +++ b/kladr/js/kladr.js @@ -241,7 +241,7 @@ var changeEvent = 'kladr_change.setvalues', types = $.kladr.type, filtered = {}, - sorted = [], + sorted = {}, $inputs, t; if (!~$.inArray($.type(values), ['object', 'array'])) { @@ -644,7 +644,7 @@ value = ''; label = defaultOptions.noResultText; if(label == null || label == '') - return; + return; $a = $('' + label + ''); $a.data('kladr-object', {}); @@ -653,7 +653,7 @@ .appendTo($ac); } - + /** * Позиционирует выпадающий список на странице