mirror of
https://github.com/ansible/awx.git
synced 2026-07-03 12:28:01 -02:30
Add form-updating input validation for components
This commit is contained in:
@@ -8,11 +8,9 @@ function addListeners (scope, list) {
|
||||
return listeners;
|
||||
}
|
||||
|
||||
function addListener (scope, el, name, fn, type) {
|
||||
type = type || '$apply';
|
||||
|
||||
function addListener (scope, el, name, fn) {
|
||||
let listener = {
|
||||
fn: () => scope[type](fn),
|
||||
fn,
|
||||
name,
|
||||
el
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user