Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 506a2aab

Von Sven Schöling vor fast 8 Jahren hinzugefügt

  • ID 506a2aabbc23b50649086d5eca8be450584fba8e
  • Vorgänger 8f19c47c
  • Nachfolger 926099a8

kivi.Part.js: real_id wird nicht mehr benötigt

Unterschiede anzeigen:

js/kivi.Part.js
258 258
    $("#makemodel_rows tr:last").find('input[type=text]').filter(':visible:first').focus();
259 259
  };
260 260

  
261

  
262 261
  ns.reload_bin_selection = function() {
263 262
    $.post("controller.pl", { action: 'Part/warehouse_changed', warehouse_id: function(){ return $('#part_warehouse_id').val() } },   kivi.eval_json_result);
264 263
  }
......
504 503
      var self = this;
505 504
      kivi.popup_dialog({
506 505
        url: 'controller.pl?action=Part/part_picker_search',
507
        data: $.extend({
508
          real_id: self.pp.real_id,
509
        }, self.pp.ajax_data(this.pp.$dummy.val())),
506
        data: self.pp.ajax_data(this.pp.$dummy.val()),
510 507
        id: 'part_selection',
511 508
        dialog: {
512 509
          title: kivi.t8('Part picker'),
......
529 526
      $.ajax({
530 527
        url: 'controller.pl?action=Part/part_picker_result',
531 528
        data: $.extend({
532
         'real_id':    self.pp.$real.val(),
533 529
          no_paginate: $('#no_paginate').prop('checked') ? 1 : 0,
534 530
        }, self.pp.ajax_data(function(){
535 531
          var val = $('#part_picker_filter').val();
templates/webpages/part/part_picker_search.html
6 6
<div style='overflow:hidden'>
7 7

  
8 8
[% LxERP.t8("Filter") %]: [% L.input_tag('part_picker_filter', SELF.models.filtered.laundered.all_substr_multi__ilike, class='part_picker_filter') %]
9
[% L.hidden_tag('part_picker_real_id', FORM.real_id) %]
10 9

  
11 10
<div class='float-right'>
12 11
  [% L.checkbox_tag('no_paginate', checked=FORM.no_paginate, id='no_paginate', for_submit=1, label=LxERP.t8('All as list')) %]

Auch abrufbar als: Unified diff