fix hiding cloneBtn
This commit is contained in:
parent
d762ebde61
commit
2996fe3da7
|
@ -22,10 +22,10 @@ function setButtonStates( element ) {
|
||||||
if ( checked == 1 ) {
|
if ( checked == 1 ) {
|
||||||
$j(form.cloneBtn).css('display', 'inline');
|
$j(form.cloneBtn).css('display', 'inline');
|
||||||
} else {
|
} else {
|
||||||
form.cloneBtn.hide();
|
$j(form.cloneBtn).hide();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
form.cloneBtn.hide();
|
$j(form.cloneBtn).hide();
|
||||||
form.editBtn.disabled = true;
|
form.editBtn.disabled = true;
|
||||||
form.deleteBtn.disabled = true;
|
form.deleteBtn.disabled = true;
|
||||||
form.selectBtn.disabled = true;
|
form.selectBtn.disabled = true;
|
||||||
|
|
Loading…
Reference in New Issue