|
@ -3386,10 +3386,7 @@ $.fn.dropdown.settings.templates = { |
|
|
|
|
|
|
|
|
// generates just menu from select
|
|
|
// generates just menu from select
|
|
|
menu: function(response, fields) { |
|
|
menu: function(response, fields) { |
|
|
var |
|
|
|
|
|
values = response.values || {}, |
|
|
|
|
|
html = '' |
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
var html = ''; |
|
|
$.each(response[fields.values], function(index, option) { |
|
|
$.each(response[fields.values], function(index, option) { |
|
|
html += '<div class="item" data-value="' + option[fields.value] + '">' + option[fields.name] + '</div>'; |
|
|
html += '<div class="item" data-value="' + option[fields.value] + '">' + option[fields.name] + '</div>'; |
|
|
}); |
|
|
}); |
|
|