From 506a2aabbc23b50649086d5eca8be450584fba8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 10 Feb 2017 13:23:35 +0100 Subject: [PATCH] =?utf8?q?kivi.Part.js:=20real=5Fid=20wird=20nicht=20mehr?= =?utf8?q?=20ben=C3=B6tigt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/kivi.Part.js | 6 +----- templates/webpages/part/part_picker_search.html | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/js/kivi.Part.js b/js/kivi.Part.js index 41e94bb9d..ce24cd818 100644 --- a/js/kivi.Part.js +++ b/js/kivi.Part.js @@ -258,7 +258,6 @@ namespace('kivi.Part', function(ns) { $("#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); } @@ -504,9 +503,7 @@ namespace('kivi.Part', function(ns) { 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'), @@ -529,7 +526,6 @@ namespace('kivi.Part', function(ns) { $.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(); diff --git a/templates/webpages/part/part_picker_search.html b/templates/webpages/part/part_picker_search.html index 69b1614db..aa50c7d8b 100644 --- a/templates/webpages/part/part_picker_search.html +++ b/templates/webpages/part/part_picker_search.html @@ -6,7 +6,6 @@
[% 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) %]
[% L.checkbox_tag('no_paginate', checked=FORM.no_paginate, id='no_paginate', for_submit=1, label=LxERP.t8('All as list')) %] -- 2.20.1