diff options
author | The Great Git Migration <tggm@no-reply.drupal.org> | 2009-04-27 09:48:41 +0000 |
---|---|---|
committer | The Great Git Migration <tggm@no-reply.drupal.org> | 2009-04-27 09:48:41 +0000 |
commit | 4caf05931d7bfff98084edcf0c31f5e8c4e38aae (patch) | |
tree | 824c116a6aba43344523fb8e08f4579a3774ada7 /plugins/video_upload/video_upload.js | |
parent | bacdeaa7d3dca73e1346cd67aedc6ae13d4ef615 (diff) | |
download | video-4caf05931d7bfff98084edcf0c31f5e8c4e38aae.tar.gz video-4caf05931d7bfff98084edcf0c31f5e8c4e38aae.tar.bz2 |
This commit was manufactured as part of Drupal's Great Git Migration to
create branch 'DRUPAL-6--2'.
Sprout from master 2009-04-27 09:48:39 UTC Heshan Wanigasooriya <heshanmw@gmail.com> 'adding includes files'
Delete:
plugins/video_upload/busy.gif
plugins/video_upload/video_upload.info
plugins/video_upload/video_upload.js
plugins/video_upload/video_upload.module
Diffstat (limited to 'plugins/video_upload/video_upload.js')
-rw-r--r-- | plugins/video_upload/video_upload.js | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/plugins/video_upload/video_upload.js b/plugins/video_upload/video_upload.js deleted file mode 100644 index d5726c0..0000000 --- a/plugins/video_upload/video_upload.js +++ /dev/null @@ -1,38 +0,0 @@ -// $Id$ -/** - * @file - * Javascript functions for busy status on video uploads - * - * TODO: Support AJAX Uploads :-) - * - * @author Fabio Varesano <fvaresano at yahoo dot it> -*/ - -/** - * Hide the node form and show the busy div -*/ -Drupal.video_upload_hide = function () { - $('#node-form').hide(); - $("#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); -} |