luci-base: fix request timeout docstring
authorPaul Spooren <mail@aparcar.org>
Mon, 9 Aug 2021 19:37:59 +0000 (09:37 -1000)
committerJo-Philipp Wich <jo@mein.io>
Tue, 15 Feb 2022 23:49:04 +0000 (00:49 +0100)
The `timeout` is defined in milliseconds, not seconds.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 292e19888448599f5169cc158b00071e020e9c27)

modules/luci-base/htdocs/luci-static/resources/luci.js

index 2cc4a701f503af709d3981515a250d49d13128a2..78e8b8b30bb010f6c409556a6efd75cffe1dcbaa 100644 (file)
                 * 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.