$("#makemodel_rows tr:last").find('input[type=text]').filter(':visible:first').focus();
};
-
ns.reload_bin_selection = function() {
$.post("controller.pl", { action: 'Part/warehouse_changed', warehouse_id: function(){ return $('#part_warehouse_id').val() } }, kivi.eval_json_result);
}
var self = this;
kivi.popup_dialog({
url: 'controller.pl?action=Part/part_picker_search',
- data: $.extend({
- real_id: self.pp.real_id,
- }, self.pp.ajax_data(this.pp.$dummy.val())),
+ data: self.pp.ajax_data(this.pp.$dummy.val()),
id: 'part_selection',
dialog: {
title: kivi.t8('Part picker'),
$.ajax({
url: 'controller.pl?action=Part/part_picker_result',
data: $.extend({
- 'real_id': self.pp.$real.val(),
no_paginate: $('#no_paginate').prop('checked') ? 1 : 0,
}, self.pp.ajax_data(function(){
var val = $('#part_picker_filter').val();
<div style='overflow:hidden'>
[% LxERP.t8("Filter") %]: [% L.input_tag('part_picker_filter', SELF.models.filtered.laundered.all_substr_multi__ilike, class='part_picker_filter') %]
-[% L.hidden_tag('part_picker_real_id', FORM.real_id) %]
<div class='float-right'>
[% L.checkbox_tag('no_paginate', checked=FORM.no_paginate, id='no_paginate', for_submit=1, label=LxERP.t8('All as list')) %]