diff --git a/wawi/bestellung.php b/wawi/bestellung.php index 5c7e31206..88d41f858 100644 --- a/wawi/bestellung.php +++ b/wawi/bestellung.php @@ -1595,7 +1595,10 @@ if($aktion == 'suche') alert("new"); $.post("bestellung.php", {pos: pos, menge: menge, ve: ve, beschreibung: beschreibung, artikelnr: artikelnr, preis: preis, mwst: mwst, brutto: brutto, bestellung: bestellung_id, saveDetail: "true"}, function(data){ - document.getElementById("bestelldetailid_"+i).value = data; + if(isNaN(data) == false) + { + document.getElementById("bestelldetailid_"+i).value = data; + } }); } } @@ -1774,7 +1777,7 @@ if($aktion == 'suche') echo "