aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-10-22 16:09:38 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:19 +0200
commit69d9f5dd045f0b9643fda4ad8e7cdaa7abd48a79 (patch)
tree5a5cb8cecc148b4923da086cf7ec05d02382491d /phpBB/assets
parent7a6fb8587579b3a910f8b43137620e0e55e9935c (diff)
downloadforums-69d9f5dd045f0b9643fda4ad8e7cdaa7abd48a79.tar
forums-69d9f5dd045f0b9643fda4ad8e7cdaa7abd48a79.tar.gz
forums-69d9f5dd045f0b9643fda4ad8e7cdaa7abd48a79.tar.bz2
forums-69d9f5dd045f0b9643fda4ad8e7cdaa7abd48a79.tar.xz
forums-69d9f5dd045f0b9643fda4ad8e7cdaa7abd48a79.zip
[ticket/10270] Fixed comments for phpbb.alert and phpbb.confirm.
PHPBB3-10270
Diffstat (limited to 'phpBB/assets')
-rw-r--r--phpBB/assets/javascript/core.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 2faf9ec417..35b76a4b37 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -42,8 +42,10 @@ phpbb.loading_alert = function() {
/**
* Display a simple alert similar to JSs native alert().
*
- * @param string title Title of the message, eg "Information"
- * @param string msg Message to display. Can be HTML.
+ * You can only call one alert or confirm box at any one time.
+ *
+ * @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
* to yes.
*
@@ -103,6 +105,8 @@ phpbb.alert = function(title, msg, fadedark) {
/**
* 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 function callback Callback. Bool param, whether the user pressed
* yes or no (or whatever their language is).