forked from tohe/wmdeit_kaform
Re-enabled currency selection
This commit is contained in:
parent
24a4ffd52c
commit
0f09df986b
4
ka.php
4
ka.php
|
@ -222,11 +222,11 @@ Grund für abweichende kontoinhabende Person"></textarea>
|
||||||
<input id="a_amount" type="text" name="amount" placeholder="Betrag*"/>
|
<input id="a_amount" type="text" name="amount" placeholder="Betrag*"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="is-col">
|
<div class="is-col">
|
||||||
<select disabled id="a_currency" name="currency" >
|
<select id="a_currency" name="currency" >
|
||||||
<option value="EUR">EUR</option>
|
<option value="EUR">EUR</option>
|
||||||
<option value="USD">USD</option>
|
<option value="USD">USD</option>
|
||||||
<option value="CHF">CHF</option>
|
<option value="CHF">CHF</option>
|
||||||
<option value="BTC">BTC</option>
|
<option value="XBT">XBT</option>
|
||||||
</select>
|
</select>
|
||||||
<!-- <input id="a_currency" type="text" name="curreny" placeholder="Waehrung*"/> -->
|
<!-- <input id="a_currency" type="text" name="curreny" placeholder="Waehrung*"/> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,13 +35,16 @@ function isFloat(val) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* grey-out currency iselection if there is at least one document is atatched.
|
||||||
|
*/
|
||||||
function disableCurrency()
|
function disableCurrency()
|
||||||
{
|
{
|
||||||
if (countRows()>0){
|
if (countRows()>0){
|
||||||
document.getElementById("a_currency").disabled=true;
|
document.getElementById("a_currency").disabled=true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
document.getElementById("a_currency").disabled=true;
|
document.getElementById("a_currency").disabled=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue