Skip to content

Commit

Permalink
Fix productToevoegen.js
Browse files Browse the repository at this point in the history
  • Loading branch information
nardi committed Feb 1, 2013
1 parent 262cbf9 commit 0d88c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion productToevoegen.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function checkTekst(field, label){

function checkPrijs(field, label){
var validPrijs =/^[0-9\,\.]+$/;
var prijs = document.getElementById(field).value;
var prijs = document.getElementById(field).value.replace(',', '.');
var label = document.getElementById(label);
if(!validPrijs.test(prijs)){
error(label, 'Dit veld is niet goed ingevuld.');
Expand Down

0 comments on commit 0d88c17

Please sign in to comment.