[ticket/10270] Fixed comments for phpbb.alert and phpbb.confirm.

PHPBB3-10270
This commit is contained in:
Callum Macrae 2011-10-22 16:09:38 +01:00 committed by Igor Wiedler
parent 7a6fb85875
commit 69d9f5dd04

View file

@ -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).