diff options
Diffstat (limited to 'funcweb/funcweb/templates/method.html')
-rw-r--r-- | funcweb/funcweb/templates/method.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/funcweb/funcweb/templates/method.html b/funcweb/funcweb/templates/method.html index daa0578..dc228c0 100644 --- a/funcweb/funcweb/templates/method.html +++ b/funcweb/funcweb/templates/method.html @@ -5,9 +5,12 @@ <body> <div class="method"> ${minion}.${module}.${method} - <form action="${tg.url('/run?minion=%s&module=%s&method=%s' % (minion, module, method))}" method="POST"> - <input type="text" name="arguments" /> + <form action="${tg.url('/run/%s/%s/%s' % (minion, module, method))}" method="POST"> + <input type="text" name="arguments" id="methodargs"/> </form> + <script type="text/javascript"> + $(document).ready($("#methodargs").focus()); + </script> </div> </body> </html> |