diff --git a/applications/luci-app-commands/ucode/template/commands.ut b/applications/luci-app-commands/ucode/template/commands.ut index 90a3c298f0d9..18e3a9dfdaa3 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)