Add generic onAjax handler that does nothing

This commit is contained in:
Samuel Georges 2017-07-29 22:55:58 +10:00
parent d8df4f6c18
commit 96d0535d09
2 changed files with 14 additions and 0 deletions

View File

@ -555,6 +555,13 @@ class Controller extends Extendable
}
}
/*
* Generic handler that does nothing
*/
if ($handler == 'onAjax') {
return true;
}
return false;
}

View File

@ -723,6 +723,13 @@ class Controller
}
}
/*
* Generic handler that does nothing
*/
if ($handler == 'onAjax') {
return true;
}
return false;
}