diff options
Diffstat (limited to 'applications/luci-app-commands/ucode/template')
-rw-r--r-- | applications/luci-app-commands/ucode/template/commands.ut | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-commands/ucode/template/commands.ut b/applications/luci-app-commands/ucode/template/commands.ut index 90a3c298f0..18e3a9dfda 100644 --- a/applications/luci-app-commands/ucode/template/commands.ut +++ b/applications/luci-app-commands/ucode/template/commands.ut @@ -45,7 +45,8 @@ legend.parentNode.style.display = 'block'; legend.style.display = 'inline'; - L.Request.get(L.url('admin/system/commands/run', id), field ? { args: field.value } : null).then(function(reply) { + var options = field ? { query: { args: field.value } } : null; + L.Request.get(L.url('admin/system/commands/run', id), options).then(function(reply) { var st = reply.json(); if (st.binary) |