mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10270] Fixed comments for phpbb.alert and phpbb.confirm.
PHPBB3-10270
This commit is contained in:
parent
7a6fb85875
commit
69d9f5dd04
1 changed files with 6 additions and 2 deletions
|
@ -42,8 +42,10 @@ phpbb.loading_alert = function() {
|
||||||
/**
|
/**
|
||||||
* Display a simple alert similar to JSs native alert().
|
* Display a simple alert similar to JSs native alert().
|
||||||
*
|
*
|
||||||
* @param string title Title of the message, eg "Information"
|
* You can only call one alert or confirm box at any one time.
|
||||||
* @param string msg Message to display. Can be HTML.
|
*
|
||||||
|
* @param string title Title of the message, eg "Information" (HTML).
|
||||||
|
* @param string msg Message to display (HTML).
|
||||||
* @param bool fadedark Remove the dark background when done? Defaults
|
* @param bool fadedark Remove the dark background when done? Defaults
|
||||||
* to yes.
|
* to yes.
|
||||||
*
|
*
|
||||||
|
@ -103,6 +105,8 @@ phpbb.alert = function(title, msg, fadedark) {
|
||||||
/**
|
/**
|
||||||
* Display a simple yes / no box to the user.
|
* Display a simple yes / no box to the user.
|
||||||
*
|
*
|
||||||
|
* You can only call one alert or confirm box at any one time.
|
||||||
|
*
|
||||||
* @param string msg Message to display (HTML).
|
* @param string msg Message to display (HTML).
|
||||||
* @param function callback Callback. Bool param, whether the user pressed
|
* @param function callback Callback. Bool param, whether the user pressed
|
||||||
* yes or no (or whatever their language is).
|
* yes or no (or whatever their language is).
|
||||||
|
|
Loading…
Add table
Reference in a new issue