Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision daa95513

Von Tamino Steinert vor 6 Tagen hinzugefügt

  • ID daa95513162cbde748d7d29fbe5d0f8ef1cc7e8f
  • Vorgänger 1861cb74
  • Nachfolger 88ad13f9

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