luci-base: change button-text from Dismiss to Close in UCI changes overview
[project/luci.git] / modules / luci-base / htdocs / luci-static / resources / rpc.js
index 7bfc913367a529b3ccb29dfc47be78c961ab0b1a..f37f7bb6a4e8f432d1ddaccaa7d86cb3f2485329 100644 (file)
@@ -33,9 +33,6 @@ return baseclass.extend(/** @lends LuCI.rpc.prototype */ {
                                                req[i].params[2]
                                        );
                }
-               else if (req.params) {
-                       q += '/%s.%s'.format(req.params[1], req.params[2]);
-               }
 
                return request.post(rpcBaseURL + q, req, {
                        timeout: (L.env.rpctimeout || 20) * 1000,