Subversion Repositories SmartDukaan

Rev

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

Rev 35982 Rev 36866
Line 11... Line 11...
11
 
11
 
12
	$(document).on('click', ".activate-store-temporary", function() {
12
	$(document).on('click', ".activate-store-temporary", function() {
13
		var row = $(this).closest("tr");
13
		var row = $(this).closest("tr");
14
		var fofoId = $(this).data("fofoid");
14
		var fofoId = $(this).data("fofoid");
15
 
15
 
16
		var ActiveDays = $(row).find("td:eq(4) input[type='text']").val();
16
		var ActiveDays = $(row).find("td:eq(5) 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
		if (confirm("Are you sure you want to activate this store!") == true) {
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,