[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

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

(no description)

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

Defines 4 functions

  errorHandler()
  returnHandler()
  submitPermissions()
  handlePermissionReturn()

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: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1