Merge branch 'master' of nielandt.be:/opt/git/bananarace

This commit is contained in:
Joachim Nielandt 2015-09-16 23:04:56 +02:00
commit 1c8293082a
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE HTML>
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set -->
<!-- the browser's rendering engine into -->
@ -6,10 +6,10 @@
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout. -->
<html ng-app="bananaraceApp">
<html ng-app="bananaraceApp" lang="nl">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- <meta http-equiv="content-type" content="text/html; charset=UTF-8"> -->
<meta charset="utf-8">
<!-- enable bootstrap -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

View File

@ -91,7 +91,7 @@ appServices.service('RaceService', function($http) {
};
this.addDrive = function(race, driver, laps) {
return $http.post('server/adddrive.php', {idrace:race, iddriver:driver.iddriver, laps});
return $http.post('server/adddrive.php', {idrace:race, iddriver:driver.iddriver, laps:laps});
};
this.deleteDrive = function(drivenr, idrace) {