var state = STATES.PICKED;
var last_real = $real.val();
var last_dummy = $dummy.val();
+ var last_unverified_dummy = $dummy.val();
var timer;
function open_dialog () {
url: 'controller.pl?action=Part/part_picker_search',
data: $.extend({
real_id: real_id,
- }, ajax_data($dummy.val())),
+ }, ajax_data(last_unverified_dummy)),
id: 'part_selection',
dialog: {
title: k.t8('Part picker'),
else if (state == STATES.UNDEFINED && $dummy.val() == '')
set_item({})
else
+ last_unverified_dummy = $dummy.val();
set_item({ id: last_real, name: last_dummy })
}
<div style='overflow:hidden'>
-[% LxERP.t8("Filter") %]: [% L.input_tag('part_picker_filter', SELF.filter.all_substr__ilike, class='part_picker_filter') %]
+[% LxERP.t8("Filter") %]: [% L.input_tag('part_picker_filter', SELF.filter.all_substr_multi__ilike, class='part_picker_filter') %]
[% L.hidden_tag('part_picker_real_id', FORM.real_id) %]
<div class='float-right'>