Subversion Repositories SmartDukaan

Rev

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

Rev 24465 Rev 27754
Line 1... Line 1...
1
$(function() {
1
$(function() {
2
	$(".live_demo_billing").live('click', function() {
2
	$(document).on('click', ".live_demo_billing", function() {
3
		currentFofoId = 0;
3
		currentFofoId = 0;
4
		loaddemolist("main-content");
4
		loaddemolist("main-content");
5
	});
5
	});
6
	
6
	
7
	$(".live_demo").live('click',
7
	$(document).on('click', ".live_demo",
8
			 function(){
8
			 function(){
9
		
9
		
10
		loaddemolist("main-content");
10
		loaddemolist("main-content");
11
	});
11
	});
12
	
12
	
13
	 $(".approve-billing").live('click',
13
	 $(document).on('click', ".approve-billing",
14
			 function(){
14
			 function(){
15
			 if (confirm("Are you sure you want to Approve the billing") == true) {
15
			 if (confirm("Are you sure you want to Approve the billing") == true) {
16
			 serial =$(this).data("serial"); 
16
			 serial =$(this).data("serial"); 
17
			 doPostAjaxRequestHandler(context + "/enableliveDemoSerailNumber?serial_number="+serial,function(response) {
17
			 doPostAjaxRequestHandler(context + "/enableliveDemoSerailNumber?serial_number="+serial,function(response) {
18
					if (response == 'true') {
18
					if (response == 'true') {