Revision 68d15545
Von Jan Büren vor mehr als 1 Jahr hinzugefügt
js/autocomplete_chart.js | ||
---|---|---|
38 | 38 |
var $category = $('#' + real_id + '_category'); // hidden input_field of the chart_picker, added in Presenter, never changes |
39 | 39 |
var $choose = $('#' + real_id + '_choose'); |
40 | 40 |
var $booked = $('#' + real_id + '_booked'); |
41 |
var $invalid = $('#' + real_id + '_invalid'); |
|
41 | 42 |
var state = STATES.PICKED; |
42 | 43 |
var last_real = $real.val(); |
43 | 44 |
var last_dummy = $dummy.val(); |
... | ... | |
84 | 85 |
if ($category && $category.val()) |
85 | 86 |
data['filter.category'] = $category.val().split(','); |
86 | 87 |
|
88 |
data['filter.invalid'] = ($invalid && $invalid.val()) ? 1 : 0; |
|
89 |
//data['invalid'] = 1; |
|
90 |
|
|
91 |
|
|
87 | 92 |
return data; |
88 | 93 |
} |
89 | 94 |
|
Auch abrufbar als: Unified diff
erste Idee: Ungültig für ChartPicker umgesetzt