Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 706e28ed

Von Tamino Steinert vor 8 Monaten hinzugefügt

  • ID 706e28edac7682c48467f1d86e6e2953428f37ae
  • Vorgänger 86650875
  • Nachfolger a97fc370

Varianten: einfachen Artikel in Variante umwandeln

Unterschiede anzeigen:

js/kivi.Part.js
337 337
    $.post("controller.pl", data, kivi.eval_json_result);
338 338
  };
339 339

  
340
  ns.convert_part_to_variant = function() {
341
    var data = $('#ic').serializeArray();
342
    data.push({ name: 'action', value: 'Part/convert_part_to_variant' });
343
    $.post("controller.pl", data, kivi.eval_json_result);
344
  };
345

  
340 346
  ns.update_variant_property_value_options = function() {
341 347
    var data = $('#ic').serializeArray();
342 348
    data.push({ name: 'action', value: 'Part/update_variant_property_value_options' });
......
403 409
      if (this.o.part_type)
404 410
        data['filter.part_type'] = this.o.part_type.split(',');
405 411

  
412
      if (this.o.variant_type)
413
        data['filter.variant_type'] = this.o.variant_type.split(',');
414

  
406 415
      if (this.o.status) {
407 416
        if (this.o.status == 'active')   data['filter.obsolete'] = 0;
408 417
        if (this.o.status == 'obsolete') data['filter.obsolete'] = 1;

Auch abrufbar als: Unified diff