[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

Display a loading screen

File Size: 1675 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: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1