Subversion Repositories SmartDukaan

Rev

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

Rev 4065 Rev 4142
Line 18... Line 18...
18
        var userId = $(this).attr('userId');
18
        var userId = $(this).attr('userId');
19
        var cartId = $(this).attr('cartId');
19
        var cartId = $(this).attr('cartId');
20
        loadCartPane("infopane", userId, cartId);
20
        loadCartPane("infopane", userId, cartId);
21
    });
21
    });
22
 
22
 
23
    $("a.show-user-communication").live('click', function() {
-
 
24
        var userId = $(this).attr('userId');
-
 
25
        loadUserCommunicationPane("infopane", userId);
-
 
26
    });
-
 
27
 
-
 
28
    $("a.show-line-details").live('click', function() {
23
    $("a.show-line-details").live('click', function() {
29
        var userId = $(this).attr('userId');
24
        var userId = $(this).attr('userId');
30
        var itemId = $(this).attr('itemId');
25
        var itemId = $(this).attr('itemId');
31
        loadLineInfo("bottom-infopane", userId, itemId);
26
        loadLineInfo("bottom-infopane", userId, itemId);
32
    });
27
    });
33
 
28
 
34
    $("a.show-comm-details").live('click', function() {
-
 
35
        var userId = $(this).attr('userId');
-
 
36
        var commId = $(this).attr('commId');
-
 
37
        loadCommunicationInfo("bottom-infopane", userId, commId);
-
 
38
    });
-
 
39
 
-
 
40
    $("a.show-tickets").live('click', function() {
29
    $("a.show-tickets").live('click', function() {
41
        var userId = $(this).attr('userId');
30
        var userId = $(this).attr('userId');
42
        loadTickets('infopane', "/crm/tickets!searchTickets?userId=" + userId);
31
        loadTickets('infopane', "/crm/tickets!searchTickets?userId=" + userId);
43
    });
32
    });
44
 
33
 
Line 213... Line 202...
213
    });
202
    });
214
 
203
 
215
    $('.list-my-unread-activity').live('click', function() {
204
    $('.list-my-unread-activity').live('click', function() {
216
        loadUnreadActivities('infopane');
205
        loadUnreadActivities('infopane');
217
    });
206
    });
-
 
207
 
-
 
208
    $('form.change-address').live('submit', function() {
-
 
209
        changeAddress($(this).serialize());
-
 
210
    });
218
});
211
});
219
212