summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/chat.st10
1 files changed, 9 insertions, 1 deletions
diff --git a/template/chat.st b/template/chat.st
index cea2004..bf9a1ba 100755
--- a/template/chat.st
+++ b/template/chat.st
@@ -27,6 +27,14 @@
<script src="http://widgets.getclicky.com/tally/?site_id=170656&sitekey=736f7dd41a0612d8d50797c65768e71a&width=175&height=250&title=Visitors" type="text/javascript"></script>
$endif$
<script src="/static/away.js"></script>
+ <script src="/static/js/ajaxupload.js"></script>
+ <script>
+ if (Nick) {
+ jQuery(document).ready(function() {
+ setupUpload('upload', Room);
+ });
+ }
+ </script>
</head>
<body>
$banner()$
@@ -58,7 +66,7 @@
<input id="msgInput" class="msgInput" type="input" />
<input id="msgSubmit" type="submit" value="Send Image URL"
/>
- <input id="upload" value="Upload" type="submit">
+ <input id="upload" value="Upload" type="submit">
</div>
$endif$
</div>