PluginProbe
Welcart e-Commerce / 2.12.4
Welcart e-Commerce v2.12.4
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
usc-e-shop / js / usces-item-upload.js

usces-item-upload.js in Welcart e-Commerce 2.12.4, at js/usces-item-upload.js

41 lines 763 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // JavaScript
2 (function($) {
3
4 itemCSV = {
5 settings: {
6 url: uscesL10n.requestFile,
7 type: 'POST',
8 cache: false
9 },
10
11
12 registration : function() {
13
14 //$("#msg").html('<span>データチェック中 </span><img src="' + uscesL10n.USCES_PLUGIN_URL + '/images/loading.gif" />');
15
16 var s = itemCSV.settings;
17 s.data = 'action=wel_item_upload_ajax&regfile=' + tempfilename + '&noheader=true';
18 console.log(s.data);
19
20 $.ajax( s ).done(function( data ){
21 console.log('Reg OK');
22
23 //$("#msg").html(data);
24 console.log(data);
25
26 }).fail(function( msg ){
27 console.log('Reg NG');
28
29 console.log(msg);
30 //$("#newitemopt_loading").html('');
31
32 });
33 return false;
34 },
35 };
36
37
38
39 })(jQuery);
40
41