summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-05-05 10:47:20 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-05-05 10:47:20 +0000
commitdcc64e37f013c14b82d6368999f98fc61ca5e5c8 (patch)
tree1eec58965fa710773a6bd7ad40a31ce05d1373d0
parent33cac6420db8b991dc16b3f4e4abb782d6f73dad (diff)
downloadbrdo-dcc64e37f013c14b82d6368999f98fc61ca5e5c8.tar.gz
brdo-dcc64e37f013c14b82d6368999f98fc61ca5e5c8.tar.bz2
#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 b14b2a245..1c28bcfa3 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;