use data-on-change-this instead of inline js
This commit is contained in:
parent
2e6efbb349
commit
2852d14ca6
|
@ -582,7 +582,7 @@ function buildSelect($name, $contents, $behaviours=false) {
|
|||
$behaviourText .= ' '.$event.'="'.$action.'"';
|
||||
}
|
||||
} else {
|
||||
$behaviourText = ' onchange="'.$behaviours.'"';
|
||||
$behaviourText = ' data-on-change-this="'.$behaviours.'"';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue