use data-on-change-this instead of inline js

This commit is contained in:
Andrew Bauer 2020-10-04 08:04:11 -05:00
parent 2e6efbb349
commit 2852d14ca6
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ function buildSelect($name, $contents, $behaviours=false) {
$behaviourText .= ' '.$event.'="'.$action.'"';
}
} else {
$behaviourText = ' onchange="'.$behaviours.'"';
$behaviourText = ' data-on-change-this="'.$behaviours.'"';
}
}
?>