|
@@ -41,7 +41,7 @@ $betMarginAway = 1 + ($leagueInfo['betMarginAway'] / 100);
|
|
|
<tbody>
|
|
<tbody>
|
|
|
<?php
|
|
<?php
|
|
|
foreach ($matches as $match) {
|
|
foreach ($matches as $match) {
|
|
|
- echo "<form id='makeBetFormId' action='makeBet.php' method='post' target='hiddenFrame'>";
|
|
|
|
|
|
|
+ echo "<form id='makeBetFormId' action='makeBet.php' method='post' target='hiddenFrame' onSubmit='document.getElementById('submit').disabled=true;'>";
|
|
|
echo "<tr>";
|
|
echo "<tr>";
|
|
|
echo "<td hidden><input hidden id='gameId' name='gameIdName' value='" . $match['id'] . "'/>";
|
|
echo "<td hidden><input hidden id='gameId' name='gameIdName' value='" . $match['id'] . "'/>";
|
|
|
echo "<td>".$match['gameDate'] . "</td>";
|
|
echo "<td>".$match['gameDate'] . "</td>";
|
|
@@ -57,7 +57,7 @@ $betMarginAway = 1 + ($leagueInfo['betMarginAway'] / 100);
|
|
|
</select></td>";
|
|
</select></td>";
|
|
|
echo "<td><input id='betOdds' name='betOddsName' type='number' step='.01'/></td>";
|
|
echo "<td><input id='betOdds' name='betOddsName' type='number' step='.01'/></td>";
|
|
|
echo "<td><input id='betAmount' name='betAmountName' type='number' step='.01'/></td>";
|
|
echo "<td><input id='betAmount' name='betAmountName' type='number' step='.01'/></td>";
|
|
|
- echo "<td><input id='button' type='submit' onClick='this.disabled=true'/></td>";
|
|
|
|
|
|
|
+ echo "<td><input id='button' type='submit'/></td>";
|
|
|
echo "</form>";
|
|
echo "</form>";
|
|
|
echo "</tr>";
|
|
echo "</tr>";
|
|
|
}
|
|
}
|