Add generic onAjax handler that does nothing
This commit is contained in:
parent
d8df4f6c18
commit
96d0535d09
|
|
@ -555,6 +555,13 @@ class Controller extends Extendable
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Generic handler that does nothing
|
||||
*/
|
||||
if ($handler == 'onAjax') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -723,6 +723,13 @@ class Controller
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Generic handler that does nothing
|
||||
*/
|
||||
if ($handler == 'onAjax') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue