From: Paul Spooren Date: Mon, 9 Aug 2021 19:37:59 +0000 (-1000) Subject: luci-base: fix request timeout docstring X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=274df9df00947ffb3b6b7aa9509cc323b6151ac8;p=project%2Fluci.git luci-base: fix request timeout docstring The `timeout` is defined in milliseconds, not seconds. Signed-off-by: Paul Spooren (cherry picked from commit 292e19888448599f5169cc158b00071e020e9c27) --- diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js index 2cc4a701f5..78e8b8b30b 100644 --- a/modules/luci-base/htdocs/luci-static/resources/luci.js +++ b/modules/luci-base/htdocs/luci-static/resources/luci.js @@ -655,7 +655,7 @@ * Provides a password for HTTP basic authentication. * * @property {number} [timeout] - * Specifies the request timeout in seconds. + * Specifies the request timeout in milliseconds. * * @property {boolean} [credentials=false] * Whether to include credentials such as cookies in the request.