Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 457e1237

Von Werner Hahn vor mehr als 3 Jahren hinzugefügt

  • ID 457e1237959ddf06c2198e2fba1768adc8053840
  • Vorgänger 84176299
  • Nachfolger ddec2dcd

Revert "ShopConnector get_part in WooCommerce implemented"

This reverts commit 875ae0f6f2ec3de097926910f64d9e6c214e0e82.

Unterschiede anzeigen:

js/kivi.ShopPart.js
140 140
                        id:     'files_upload',
141 141
                        dialog: { title: kivi.t8('File upload'), width: 650, height: 240 } });
142 142
    return true;
143
  };
144

  
145
  ns.get_shop_parts_one = function() {
146

  
147
    var data = $('#get_one_shop_part_form').serializeArray();
148
    data.push({ name: 'type', value: 'get_one'});
149
    data.push({ name: 'action', value: 'ShopPart/get_shop_parts' });
150

  
151
    $.post("controller.pl", data, kivi.eval_json_result);
152
  };
153

  
154
  ns.get_shop_parts_new = function() {
155
    $.post("controller.pl", { action: 'ShopPart/get_shop_parts', type: 'get_new'}, kivi.eval_json_result);
156
  };
157

  
158
  ns.get_shop_order_one_initialize = function() {
159
    kivi.popup_dialog({
160
      id: 'get_one',
161
      dialog: {
162
        title: kivi.t8('Get one shoppart'),
163
      }
164
    });
165
  };
143
  }
166 144

  
167
  ns.get_shop_parts_one_setup = function() {
168
    kivi.ShopPart.get_shop_order_one_initialize();
169
    //kivi.submit_ajax_form('controller.pl?action=ShopOrder/get_orders', $('#shoporder'));
170
  };
171 145

  
172 146
  ns.setup = function() {
173 147
    kivi.ShopPart.massUploadInitialize();

Auch abrufbar als: Unified diff