diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-22 18:16:12 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-22 18:16:12 +1000 |
| commit | c4913ab883b30cd3eb2b4d6bb7854563e59bb482 (patch) | |
| tree | 93de0bd2b4d5ac59f1ca246e506508c9d48acd06 /templates/index.html | |
| parent | 25e77ae425e49fa90ebf94d9e7074d5da58d0530 (diff) | |
more efficient javascript remembering system
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 4573431d..7ba56828 100644 --- a/templates/index.html +++ b/templates/index.html @@ -18,7 +18,7 @@ <div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
- <form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{config[post_url]}" method="post">
+ <form name="post" onsubmit="return dopost(this);" enctype="multipart/form-data" action="{config[post_url]}" method="post">
{hidden_inputs}
<input type="hidden" name="board" value="{board[uri]}" />
{mod?<input type="hidden" name="mod" value="1" />}
@@ -96,6 +96,9 @@ </tr>
</table>
</form>
+ <script type="text/javascript">
+ rememberStuff();
+ </script>
<hr/>
<form name="delete" action="{post_url}" method="post">
<input type="hidden" name="board" value="{board[uri]}" />
|
