mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10271] Improved the comments on return_handler.
PHPBB3-10271
This commit is contained in:
committed by
Igor Wiedler
parent
8120023605
commit
8a2f5f3269
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user