aboutsummaryrefslogtreecommitdiff
path: root/types/video_upload/video_upload.js
diff options
context:
space:
mode:
authorHeshan Wanigasooriya <heshanmw@gmail.com>2010-03-23 04:17:29 +0000
committerHeshan Wanigasooriya <heshanmw@gmail.com>2010-03-23 04:17:29 +0000
commit8041073c8d74e5d24e3b9f10143f3e4bd04db2de (patch)
tree89827aac40d499a41c4deae85719712630836568 /types/video_upload/video_upload.js
parentb66f50d2ce11d0cc8bb53af94ad86278d3fe8e51 (diff)
downloadvideo-8041073c8d74e5d24e3b9f10143f3e4bd04db2de.tar.gz
video-8041073c8d74e5d24e3b9f10143f3e4bd04db2de.tar.bz2
removing old files and commenting new file field and other files to the vidoe module page.
Diffstat (limited to 'types/video_upload/video_upload.js')
-rw-r--r--types/video_upload/video_upload.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/types/video_upload/video_upload.js b/types/video_upload/video_upload.js
deleted file mode 100644
index 5513bea..0000000
--- a/types/video_upload/video_upload.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// $Id$
-/**
- * @file
- * Javascript functions for busy status on video uploads
- *
- * TODO: Support AJAX Uploads :-)
- *
- * @author Fabio Varesano <fvaresano at yahoo dot it>
- * @author Heshan Wanigasooriya <heshan at heidisoft.com><heshanmw at gmail dot com>
- * @todo
-*/
-
-/**
- * Hide the node form and show the busy div
-*/
-Drupal.video_upload_hide = function () {
- // hiding the form (using display: none) makes its file values empty in Konqueror (Possibly also Safari). So let's move the form away of the view of the browser
-
- $('#node-form').css({ position: "absolute", top: "-4000px" });
-
- $("#sending").show();
- $("#video_upload_cancel_link").click(Drupal.video_upload_show);
-}
-
-Drupal.video_upload_show = function() {
- $('#node-form').show();
- $("#sending").hide();
-
- //$("form").bind("submit", function() { return false; })
- window.location = window.location;
-}
-
-/**
- * Attaches the upload behaviour to the video upload form.
- */
-Drupal.video_upload = function() {
- $('#node-form').submit(Drupal.video_upload_hide);
-}
-
-// Global killswitch
-if (Drupal.jsEnabled) {
- $(document).ready(Drupal.video_upload);
-}