Fixed disabling submit_button in group order form.
This commit is contained in:
parent
3ab3ff2bc4
commit
310a97912c
1 changed files with 3 additions and 3 deletions
|
@ -157,13 +157,13 @@ function updateBalance() {
|
||||||
var bgcolor = '';
|
var bgcolor = '';
|
||||||
if (balance < 0) {
|
if (balance < 0) {
|
||||||
bgcolor = '#FF0000';
|
bgcolor = '#FF0000';
|
||||||
$('#submit_button').disabled = true;
|
$('#submit_button').attr('disabled', 'disabled')
|
||||||
} else {
|
} else {
|
||||||
$('#submit_button').disabled = false;
|
$('#submit_button').removeAttr('disabled')
|
||||||
}
|
}
|
||||||
// update bgcolor
|
// update bgcolor
|
||||||
for (i in itemTotal) {
|
for (i in itemTotal) {
|
||||||
$('#ltd_price_' + i).css('background-color', bgcolor);
|
$('#td_price_' + i).css('background-color', bgcolor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue