[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/assets/javascript/ -> core.js (summary)

Display a loading screen

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

Defines 8 functions

  errorHandler()
  returnHandler()
  resetAutoResize()
  autoResize()
  setHeight()
  inTag()
  getLastLine()
  appendText()

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.

resetAutoResize(item)   X-Ref
No description

autoResize(item)   X-Ref
No description

setHeight(height)   X-Ref
No description

inTag()   X-Ref
No description

getLastLine(stripCodeStart)   X-Ref
Get line of text before cursor

param: {boolean} stripCodeStart If true, only part of line
returns: {string} Line of text

appendText(text)   X-Ref
Append text at cursor position

param: {string} text Text to append



Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1