From 9935d93b68b2b0fc406b5e0d84229d1c4a111fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Wed, 27 Jul 2011 18:13:40 +0200 Subject: [PATCH] Update the documentation of config.dialogs. --- common/modules/config.jsm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/modules/config.jsm b/common/modules/config.jsm index cc1d245c..7f30adcc 100644 --- a/common/modules/config.jsm +++ b/common/modules/config.jsm @@ -334,10 +334,12 @@ var ConfigBase = Class("ConfigBase", { /** * @property {Object} A map of dialogs available via the * :dialog command. Property names map dialog names to an array - * as follows: + * with the following elements: * [0] description - A description of the dialog, used in * command completion results for :dialog. * [1] action - The function executed by :dialog. + * [2] test - Function which returns true if the dialog is available in + * the current window. @optional */ dialogs: {},