Mercurial Hosting > luan
changeset 1245:2de84f128be3
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 16 Jul 2018 17:26:45 -0600 |
parents | d1911842c2be |
children | 299996e03876 |
files | src/luan/modules/http/tools/Shell.luan src/luan/modules/http/tools/run.luan src/luan/modules/lucene/Web_search.luan |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/luan/modules/http/tools/Shell.luan Mon Jul 09 00:52:25 2018 -0600 +++ b/src/luan/modules/http/tools/Shell.luan Mon Jul 16 17:26:45 2018 -0600 @@ -71,7 +71,7 @@ end function Shell.respond() - local session_id = Http.request.cookies.session + local session_id = Http.request.cookies["session"] if session_id == nil then session_id = new_session() Http.response.set_cookie("session",session_id) @@ -130,7 +130,7 @@ <h2>Luan Shell</h2> <p>This is a command shell. Enter commands below.</p> <pre><%= session.history() %></pre> - <form name='form0' method='post'> + <form method='post'> % <input type="text" name='cmd' size="80" autofocus> <input type="submit" value="run"> <input type="submit" name="clear" value="clear">
--- a/src/luan/modules/http/tools/run.luan Mon Jul 09 00:52:25 2018 -0600 +++ b/src/luan/modules/http/tools/run.luan Mon Jul 16 17:26:45 2018 -0600 @@ -61,7 +61,7 @@ </head> <body> <h2>Run Luan Code</h2> - <form name="form0" method="post"> + <form method="post"> <input type="hidden" name="content_type" value="text/plain; charset=utf-8" /> <div> <textarea name="code" rows="20" cols="90" wrap="off" autofocus></textarea>
--- a/src/luan/modules/lucene/Web_search.luan Mon Jul 09 00:52:25 2018 -0600 +++ b/src/luan/modules/lucene/Web_search.luan Mon Jul 16 17:26:45 2018 -0600 @@ -71,7 +71,7 @@ </head> <body> <h2>Lucene Query</h2> - <form horizontal name="form0" method="post"> + <form horizontal method="post"> <div> <label>Query:</label> <input type=text name="query" size="80" autofocus />