Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1f3dda5f

Von Tamino vor fast 4 Jahren hinzugefügt

  • ID 1f3dda5fde9b278b113fc21005adc2af8c8ed7f4
  • Vorgänger 94589a4e
  • Nachfolger f71e1c67

WebshopApi: template und js überarbeitet

Unterschiede anzeigen:

js/kivi.ShopOrder.js
8 8
    });
9 9
  };
10 10

  
11
  ns.get_orders_one = function() {
12

  
13
    var data = $('#get_one_order_form').serializeArray();
14
    data.push({ name: 'type', value: 'get_one'});
15
    data.push({ name: 'action', value: 'ShopOrder/get_orders' });
16

  
17
    $.post("controller.pl", data, kivi.eval_json_result);
18
  };
19

  
20
  ns.get_orders_next = function() {
21

  
22
    $.post("controller.pl", { action: 'ShopOrder/get_orders', type: 'get_next'}, kivi.eval_json_result);
23
  };
24

  
25
  ns.getOneOrderInitialize = function() {
26
    kivi.popup_dialog({
27
      id: 'get_one',
28
      dialog: {
29
        title: kivi.t8('Get one shoporder'),
30
      }
31
    });
32
  };
33

  
34

  
35
  ns.get_one_order_setup = function() {
36
    kivi.ShopOrder.getOneOrderInitialize();
37
    kivi.submit_ajax_form('controller.pl?action=ShopOrder/get_orders', $('#shoporder'));
38
  };
39

  
11 40
  ns.massTransferStarted = function() {
12 41
    $('#status_mass_transfer').data('timerId', setInterval(function() {
13 42
      $.get("controller.pl", {

Auch abrufbar als: Unified diff