Skip to content

Commit

Permalink
Тип sorted изменён на object
Browse files Browse the repository at this point in the history
  • Loading branch information
majerkravchuk committed Nov 25, 2016
1 parent f0f2dc3 commit 8f55d44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kladr/js/kladr.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
var changeEvent = 'kladr_change.setvalues',
types = $.kladr.type,
filtered = {},
sorted = [],
sorted = {},
$inputs, t;

if (!~$.inArray($.type(values), ['object', 'array'])) {
Expand Down Expand Up @@ -644,7 +644,7 @@
value = '';
label = defaultOptions.noResultText;
if(label == null || label == '')
return;
return;
$a = $('<a data-val="' + value + '">' + label + '</a>');
$a.data('kladr-object', {});

Expand All @@ -653,7 +653,7 @@
.appendTo($ac);
}



/**
* Позиционирует выпадающий список на странице
Expand Down

0 comments on commit 8f55d44

Please sign in to comment.