Subversion Repositories SmartDukaan

Rev

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

Rev 21024 Rev 21025
Line 3... Line 3...
3
	$('a.mk_activate').on('click', function(){
3
	$('a.mk_activate').on('click', function(){
4
		this.style.pointerEvents = 'none';
4
		this.style.pointerEvents = 'none';
5
		clickedUserId = $(this).closest('tr').find('input').val();
5
		clickedUserId = $(this).closest('tr').find('input').val();
6
		if(clickedUserId != ""){
6
		if(clickedUserId != ""){
7
			window.location="/admin/retailers/activate/" + $(this).data("retailerid") + "/" + clickedUserId;
7
			window.location="/admin/retailers/activate/" + $(this).data("retailerid") + "/" + clickedUserId;
8
			this.style.pointerEvents = 'auto';
-
 
9
		} else {
8
		} else {
10
			alert("User id is required for activation");
9
			alert("User id is required for activation");
-
 
10
			return false;
11
		}
11
		}
12
		return false;
-
 
13
	});
12
	});
14
});
13
});
15
</script>
14
</script>
16
<div class="container">
15
<div class="container">
17
	<div class = "row">
16
	<div class = "row">