mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10271] Improved the comments on return_handler.
PHPBB3-10271
This commit is contained in:
parent
8120023605
commit
8a2f5f3269
1 changed files with 7 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue