From: rsiddharth Date: Tue, 4 Nov 2014 03:55:29 +0000 (-0500) Subject: modified server/staging/lp15/volunteer_js.html: GET is used instead of POST to check... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5c437820d6cccf20f06a3c261d5bcf606232d304;p=libreplanet-static.git modified server/staging/lp15/volunteer_js.html: GET is used instead of POST to check for user name availablility. --- diff --git a/server/staging/lp15/volunteer_js.html b/server/staging/lp15/volunteer_js.html index ba01e9a7..c29365a7 100644 --- a/server/staging/lp15/volunteer_js.html +++ b/server/staging/lp15/volunteer_js.html @@ -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);