summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Drumm2006-05-05 10:47:20 (GMT)
committerNeil Drumm2006-05-05 10:47:20 (GMT)
commitdcc64e37f013c14b82d6368999f98fc61ca5e5c8 (patch)
tree1eec58965fa710773a6bd7ad40a31ce05d1373d0
parent33cac6420db8b991dc16b3f4e4abb782d6f73dad (diff)
#61954 by nedjo, Remove unneeded lines in upload.js
-rw-r--r--misc/upload.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/misc/upload.js b/misc/upload.js
index b14b2a2..1c28bcf 100644
--- a/misc/upload.js
+++ b/misc/upload.js
@@ -9,7 +9,6 @@ if (isJsEnabled()) {
* Attaches the upload behaviour to the upload form.
*/
function uploadAutoAttach() {
- var acdb = [];
var inputs = document.getElementsByTagName('input');
for (i = 0; input = inputs[i]; i++) {
if (input && hasClass(input, 'upload')) {
@@ -27,7 +26,6 @@ function uploadAutoAttach() {
* JS upload object.
*/
function jsUpload(uri, button, wrapper, hide) {
- var upload = this;
this.button = button;
this.wrapper = wrapper;
this.hide = hide;