From: Sven Schöling Date: Fri, 10 Feb 2017 12:23:35 +0000 (+0100) Subject: kivi.Part.js: real_id wird nicht mehr benötigt X-Git-Tag: release-3.5.4~1454 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=506a2aabbc23b50649086d5eca8be450584fba8e;p=kivitendo-erp.git kivi.Part.js: real_id wird nicht mehr benötigt --- 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')) %]