Subversion Repositories SmartDukaan

Rev

Rev 2674 | Rev 2830 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2674 vikas 1
$(function() {
2
	$("a.show-order-details").live('click', function() {
3
		var orderId = $(this).attr('orderId');
4
		var userId = $(this).attr('userId');
5
		loadOrderInfo("bottom-infopane", userId, orderId);
6
	});
7
 
8
	$("a.show-user-details").live('click', function() {
9
		var userId = $(this).attr('userId');
10
		loadUserPane("infopane", userId);
11
	});
12
 
13
	$("a.show-orders").live('click', function() {
14
		var userId = $(this).attr('userId');
15
		loadOrderPane("infopane", userId, 0);
16
	});
2714 vikas 17
 
18
	$("a.show-cart").live('click', function() {
19
		var userId = $(this).attr('userId');
20
		var cartId = $(this).attr('cartId');
21
		loadCartPane("infopane", userId, cartId);
22
	});
23
 
24
	$("a.show-line-details").live('click', function() {
25
		var userId = $(this).attr('userId');
26
		var itemId = $(this).attr('itemId');
27
		loadLineInfo("bottom-infopane", userId, itemId);
28
	});
2674 vikas 29
});