[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/adm/style/ -> ajax.js (summary)

(no description)

File Size: 349 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions


Functions that are not part of a class:

errorHandler(jqXHR, textStatus, errorThrown)   X-Ref
Handler for AJAX errors

returnHandler(res)   X-Ref
This is a private function used to handle the callbacks, refreshes
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.

submitPermissions()   X-Ref
Handler for submitting permissions form in chunks
This call will submit permissions forms in chunks of 5 fieldsets.

handlePermissionReturn(res)   X-Ref
Handler for submitted permissions form chunk

param: {object} res Object returned by AJAX call

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1