Subversion Repositories SmartDukaan

Rev

Rev 2714 | Rev 3096 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

$(function() {
        $("a.show-order-details").live('click', function() {
                var orderId = $(this).attr('orderId');
                var userId = $(this).attr('userId');
                loadOrderInfo("bottom-infopane", userId, orderId);
        });
        
        $("a.show-user-details").live('click', function() {
                var userId = $(this).attr('userId');
                loadUserPane("infopane", userId);
        });
        
        $("a.show-orders").live('click', function() {
                var userId = $(this).attr('userId');
                loadOrderPane("infopane", userId, 0);
        });
        
        $("a.show-cart").live('click', function() {
                var userId = $(this).attr('userId');
                var cartId = $(this).attr('cartId');
                loadCartPane("infopane", userId, cartId);
        });
        
        $("a.show-user-communication").live('click', function() {
                var userId = $(this).attr('userId');
                loadUserCommunicationPane("infopane", userId);
        });
        
        $("a.show-line-details").live('click', function() {
                var userId = $(this).attr('userId');
                var itemId = $(this).attr('itemId');
                loadLineInfo("bottom-infopane", userId, itemId);
        });
        
        $("a.show-comm-details").live('click', function() {
                var userId = $(this).attr('userId');
                var commId = $(this).attr('commId');
                loadCommunicationInfo("bottom-infopane", userId, commId);
        });
});