[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/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

  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: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1