diff options
Diffstat (limited to 'phpBB/assets/javascript/core.js')
-rw-r--r-- | phpBB/assets/javascript/core.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js index 3d75cd291f..fe85bd9780 100644 --- a/phpBB/assets/javascript/core.js +++ b/phpBB/assets/javascript/core.js @@ -235,8 +235,13 @@ phpbb.ajaxify = function(options, refresh, callback) { /** * This is a private function used to handle the callbacks, refreshes - * and alert. It cannot be called from outside this function, and is purely - * here to avoid repetition of code. + * and alert. It calls the callback, refreshes the page if necessary, and + * displays an alert to the user and removes it after an amount of time. + * + * It cannot be called from outside this function, and is purely here to + * avoid repetition of code. + * + * @param object res The object sent back by the server. */ function return_handler(res) { |