Renamed $.ajax's "before"-option to "beforeSend" to prevent conflict with form plugin - may be a good convention to use beforeXXX and afterXXX everytime for callbacks...

This commit is contained in:
Jörn Zaefferer 2006-12-05 22:58:27 +00:00
parent 47a6a32b27
commit f1c91fd023
3 changed files with 8 additions and 8 deletions

View file

@ -19,7 +19,7 @@ if($name == 'foo') {
die();
}
$request = apache_request_headers();
$request = $request['customHeader'];
$request = $request['X-Custom-Header'];
if(strlen($request) > 0) {
echo $request;
die();