Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 81d283b4

Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt

  • ID 81d283b496da5595b3b1aac6f88af2169df8bdf8
  • Vorgänger 959ec023
  • Nachfolger 63720c4e

Shop - per ajax ShopPart/update_shop aufrufen

Unterschiede anzeigen:

js/kivi.shop_part.js
90 90
    });
91 91
  }
92 92

  
93
  ns.update_shop_part = function(shop_part_id) {
94
    $.post('controller.pl', { action: 'ShopPart/update_shop', shop_part_id: shop_part_id }, function(data) {
95
      kivi.eval_json_result(data);
96
    });
97
  }
98

  
93 99
  ns.update_discount_source = function(row, source, discount_str) {
94 100
    $('#active_discount_source_' + row).val(source);
95 101
    if (discount_str) $('#discount_' + row).val(discount_str);

Auch abrufbar als: Unified diff