Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8b0265d1

Von Bernd Bleßmann vor 8 Monaten hinzugefügt

  • ID 8b0265d19108d05fd690fd555d1d1913423c3aa1
  • Vorgänger 24fa3209
  • Nachfolger a833c262

Presenter Lagerplatz: data-Feld für Namen des bin-Selects nicht mehr nötig

Unterschiede anzeigen:

SL/Presenter/Warehouse.pm
with_empty => $with_empty,
title_key => 'description',
onchange => 'kivi.Warehouse.wh_changed(this);',
'data-bin-dom-name' => $bin_name,
'data-bin-dom-id' => $bin_id,
class => $wh_class,
%attributes
js/kivi.Warehouse.js
ns.wh_changed = function(target) {
const wh_id = $(target).val();
const bin_dom_name = $(target).data('bin-dom-name');
const bin_dom_id = $(target).data('bin-dom-id');
$.post("controller.pl", { action: 'Warehouse/wh_bin_select_update_bins',
wh_id: wh_id,

Auch abrufbar als: Unified diff