Add click_autocopy function

This commit is contained in:
Isaac Connor 2019-07-23 10:00:05 -04:00
parent 346933126d
commit 0e040fc2fc
1 changed files with 9 additions and 0 deletions

View File

@ -72,6 +72,15 @@ function click_automove(element) {
}
}
function click_autocopy(element) {
updateButtons(this);
if ( this.checked ) {
$j(this.form.elements['filter[AutoCopyTo]']).css('display', 'inline');
} else {
this.form.elements['filter[AutoCopyTo]'].hide();
}
}
function checkValue( element ) {
var rows = $j(element).closest('tbody').children();
parseRows(rows);