Subversion Repositories SmartDukaan

Rev

Rev 12948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12948 Rev 15703
Line 17... Line 17...
17
	
17
	
18
	$(".fbg-job").live('click', function() {
18
	$(".fbg-job").live('click', function() {
19
		loadFbgListingJob("content");
19
		loadFbgListingJob("content");
20
    });
20
    });
21
	
21
	
-
 
22
	$(".fbd-job").live('click', function() {
-
 
23
		loadFbdListingJob("content");
-
 
24
    });
-
 
25
	
22
	$(".non-fba-job").live('click', function() {
26
	$(".non-fba-job").live('click', function() {
23
		loadNonFbaListingJob("content");
27
		loadNonFbaListingJob("content");
24
    });
28
    });
25
	
29
	
26
	$(".shipping-upload").live('click', function() {
30
	$(".shipping-upload").live('click', function() {
Line 211... Line 215...
211
		 	jAlert("OOPS!!!Please Try Again.",'ERROR');
215
		 	jAlert("OOPS!!!Please Try Again.",'ERROR');
212
		 },
216
		 },
213
    });  
217
    });  
214
}
218
}
215
 
219
 
-
 
220
function loadFbdListingJob(domId){
-
 
221
jQuery.ajax({
-
 
222
        type : "GET",
-
 
223
        url : "/Support/amazon-list!runFbdListingJob",
-
 
224
        success : function(response) {
-
 
225
			jAlert('Fbd Listing Job Running.Please donot submit another request for atleast 15 minutes','Success');
-
 
226
        },
-
 
227
		error : function() {
-
 
228
		 	jAlert("OOPS!!!Please Try Again.",'ERROR');
-
 
229
		 },
-
 
230
    });  
-
 
231
}
-
 
232
 
216
function loadFbbListingJob(domId){
233
function loadFbbListingJob(domId){
217
jQuery.ajax({
234
jQuery.ajax({
218
        type : "GET",
235
        type : "GET",
219
        url : "/Support/amazon-list!runFbbListingJob",
236
        url : "/Support/amazon-list!runFbbListingJob",
220
        success : function(response) {
237
        success : function(response) {
Line 337... Line 354...
337
<br>
354
<br>
338
<br>
355
<br>
339
<a href="#" class="fbg-job">Run FBG Listing Job</a>
356
<a href="#" class="fbg-job">Run FBG Listing Job</a>
340
<br>
357
<br>
341
<br>
358
<br>
-
 
359
<a href="#" class="fbd-job">Run FBD Listing Job</a>
-
 
360
<br>
-
 
361
<br>
342
<a href="#" class="non-fba-job">Run MFN Listing Job</a>
362
<a href="#" class="non-fba-job">Run MFN Listing Job</a>
343
<br>
363
<br>
344
<br>
364
<br>
345
<hr>
365
<hr>
346
</div>
366
</div>