modified server/staging/lp15/volunteer_js.html: GET is used instead of POST to check...
authorrsiddharth <rsd@gnu.org>
Tue, 4 Nov 2014 03:55:29 +0000 (22:55 -0500)
committerrsiddharth <rsd@gnu.org>
Tue, 4 Nov 2014 03:55:29 +0000 (22:55 -0500)
server/staging/lp15/volunteer_js.html

index ba01e9a79cb3e8725f8acf2ac8e1b70569a71cb3..c29365a79e4e82d7c09211a9b24d1dc5222bd7b2 100644 (file)
@@ -86,7 +86,7 @@ cj("#checkavailability").click(function() {
        for: 'civicrm/ajax/cmsuser'
 
    };
-   cj.post(contactUrl, checkUserParams ,function(data) {
+   cj.get(contactUrl, checkUserParams ,function(data) {
       if ( data.name == "no") {/*if username not avaiable*/
          cj("#msgbox").fadeTo(200,0.1,function() {
       cj(this).html(notavailable).addClass('cmsmessagebox').css({"color":"#CC0000","backgroundColor":"#F7CBCA","border":"1px solid #CC0000"}).fadeTo(900,1);