diff options
Diffstat (limited to 'luci2')
-rw-r--r-- | luci2/htdocs/luci2/luci2.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js index 2a2a359..040f1e5 100644 --- a/luci2/htdocs/luci2/luci2.js +++ b/luci2/htdocs/luci2/luci2.js @@ -974,7 +974,7 @@ function LuCI2() add: function(conf, type, name) { var n = this.state.creates; - var sid = this.createSID(conf); + var sid = name || this.createSID(conf); if (!n[conf]) n[conf] = { }; |