Subversion Repositories SmartDukaan

Rev

Rev 28711 | Rev 29268 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28711 Rev 28713
Line 15... Line 15...
15
		
15
		
16
		var ActiveDays = $(row).find("td:eq(4) input[type='text']").val();
16
		var ActiveDays = $(row).find("td:eq(4) input[type='text']").val();
17
		console.log("ActiveDays" + ActiveDays);
17
		console.log("ActiveDays" + ActiveDays);
18
		console.log("fofoId" + fofoId);
18
		console.log("fofoId" + fofoId);
19
		var days = parseInt(ActiveDays);
19
		var days = parseInt(ActiveDays);
20
		
-
 
-
 
20
		if (confirm("Are you sure you want to activate this store!") == true) {
21
		doPostAjaxRequestHandler(context + "/activateStoreTemporary?fofoId=" + fofoId + "&days=" + days,
21
		doPostAjaxRequestHandler(context + "/activateStoreTemporary?fofoId=" + fofoId + "&days=" + days,
22
				function(response) {
22
				function(response) {
23
					if (response == "true") {
23
					if (response == "true") {
24
						alert("successfully activated!");
24
						alert("successfully activated!");
25
						inactiveStoreInfo("main-content");
25
						inactiveStoreInfo("main-content");
26
					}
26
					}
27
 
27
 
28
				});
28
				});
29
		
29
		
30
		
30
		}
31
		
31
		
32
 
32
 
33
	});
33
	});
34
	$(document).on('click', ".active-store", function() {
34
	$(document).on('click', ".active-store", function() {
35
		storeInfo("main-content");
35
		storeInfo("main-content");