Subversion Repositories SmartDukaan

Rev

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

Rev 2674 Rev 2682
Line 14... Line 14...
14
		 url: "/crm/user-orders?userId=" + userId,
14
		 url: "/crm/user-orders?userId=" + userId,
15
		 success: function(response){
15
		 success: function(response){
16
			 $('#' + domId).html(response);
16
			 $('#' + domId).html(response);
17
			 loadOrderInfo("bottom-infopane", userId, orderId);
17
			 loadOrderInfo("bottom-infopane", userId, orderId);
18
			 var table = $('#user-orders').dataTable({
18
			 var table = $('#user-orders').dataTable({
19
				"aaSorting": [[0,'desc']],
19
				"aaSorting": [[1,'desc']],
20
				"iDisplayLength" : 5,
20
				"iDisplayLength" : 5,
21
				"aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
21
				"aLengthMenu" : [ [ 5, 10, 20, -1 ], [ 5, 10, 20, "All" ] ]
22
			 });
22
			 });
23
		 }
23
		 }
24
	 });
24
	 });