Skip to content

Commit ebfb4f7

Browse files
stokitosystemcrash
authored andcommitted
luci-base: form.js depends(): make value optional
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
1 parent 721369b commit ebfb4f7

File tree

1 file changed

+1
-1
lines changed
  • modules/luci-base/htdocs/luci-static/resources

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ const CBIAbstractValue = CBIAbstractElement.extend(/** @lends LuCI.form.Abstract
16311631
* The name of the option to depend on or an object describing multiple
16321632
* dependencies which must be satisfied (a logical "and" expression).
16331633
*
1634-
* @param {string|RegExp} value
1634+
* @param {string|RegExp} [value]
16351635
* When invoked with a plain option name as first argument, this parameter
16361636
* specifies the expected value. In case an object is passed as first
16371637
* argument, this parameter is ignored.

0 commit comments

Comments
 (0)