projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc3868
)
luci-base: network.js: fix JSDoc syntax error
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 30 Mar 2020 15:35:59 +0000
(17:35 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Mon, 30 Mar 2020 15:36:29 +0000
(17:36 +0200)
Fixes:
506dc5a90
("luci-base: extended network.js for check if new interface is createable")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/network.js
b/modules/luci-base/htdocs/luci-static/resources/network.js
index c79022968ccc99132ab83285e40716f1f8b63dd4..ec40e78bebcfd45a26164443afa123796d1f2d57 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/network.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/network.js
@@
-2312,7
+2312,7
@@
Protocol = L.Class.extend(/** @lends LuCI.Network.Protocol.prototype */ {
* @param {string} ifname
* The name of the interface to be created.
*
- * @returns {Promise<null|
error message
>}
+ * @returns {Promise<null|
string
>}
* Returns `null` if new interface is createable, else returns (error) message.
*/
isCreateable: function(ifname) {