diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-09-07 13:49:39 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-09-07 13:49:39 +0000 |
commit | 7f73c2bfb2ad78e8867ba25c1fb1e6848418f6da (patch) | |
tree | 9342dca28355edefeb79d13fcfaaa402236dd27e /misc/upload.js | |
parent | e6f4f5ab146c44babd0a5e7865268de853b78463 (diff) | |
download | brdo-7f73c2bfb2ad78e8867ba25c1fb1e6848418f6da.tar.gz brdo-7f73c2bfb2ad78e8867ba25c1fb1e6848418f6da.tar.bz2 |
Fixes for AJAX/JS stuff in Konqueror:
- Fix collapsible fieldsets (broken since to 'IE5 icons alignment' fix)
- Fix JS upload (broken due to mysterious form submission abortion bug)
Thanks Bèr for letting me use VNC :).
Diffstat (limited to 'misc/upload.js')
-rw-r--r-- | misc/upload.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/upload.js b/misc/upload.js index 48f403448..6437b3175 100644 --- a/misc/upload.js +++ b/misc/upload.js @@ -42,8 +42,10 @@ jsUpload.prototype.onsubmit = function () { this.progress.element.style.width = '28em'; this.progress.element.style.height = hide.offsetHeight +'px'; hide.parentNode.insertBefore(this.progress.element, hide); - // Hide file form - hide.style.display = 'none'; + // Hide file form (cannot use display: none, this mysteriously aborts form + // submission in Konqueror) + hide.style.position = 'absolute'; + hide.style.left = '-2000px'; } /** |