From 5c437820d6cccf20f06a3c261d5bcf606232d304 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Mon, 3 Nov 2014 22:55:29 -0500 Subject: [PATCH] modified server/staging/lp15/volunteer_js.html: GET is used instead of POST to check for user name availablility. --- server/staging/lp15/volunteer_js.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1