Subversion Repositories SmartDukaan

Rev

Rev 21090 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21090 kshitij.so 1
function loadNewUserForm(pos,referrerEmail){
2
	jQuery.ajax({
3
        type : "GET",
4
        url : "/Support/pmsa/pmsa-add-user?referrerEmail="+referrerEmail,
5
        success : function(response) {
6
            $('#' + pos).html(response);
7
        }
8
    });  
9
}
10
 
11
function loadSearchUserForm(pos){
12
	jQuery.ajax({
13
        type : "GET",
14
        url : "/Support/pmsa/pmsa-search-user",
15
        success : function(response) {
16
            $('#' + pos).html(response);
17
        }
18
    });  
19
}
20
 
21
function loadUserForm(pos, userId){
22
	jQuery.ajax({
23
        type : "GET",
24
        url : "/Support/pmsa!edit?id="+userId,
25
        success : function(response) {
26
            $('#' + pos).html(response);
27
        }
28
    });  
29
}
21092 kshitij.so 30
 
31
function loadMyProfile(pos){
32
	jQuery.ajax({
33
        type : "GET",
34
        url : "/Support/pmsa!myProfile",
35
        success : function(response) {
36
            $('#' + pos).html(response);
37
        }
38
    });  
39
}