diff options
author | Fabio Varesano <fax8@13637.no-reply.drupal.org> | 2007-01-05 17:09:21 +0000 |
---|---|---|
committer | Fabio Varesano <fax8@13637.no-reply.drupal.org> | 2007-01-05 17:09:21 +0000 |
commit | dc2c2b068693f78bba914895fbddbb1ec203eb0c (patch) | |
tree | 74231ad50fae2c129ee5f3aacf9ecfe3b186d29d /plugins/video_image | |
parent | b5d49f9ee872d3f4563ad97beea974b877009f37 (diff) | |
download | video-dc2c2b068693f78bba914895fbddbb1ec203eb0c.tar.gz video-dc2c2b068693f78bba914895fbddbb1ec203eb0c.tar.bz2 |
Added some functions to hide the resolution and playtime functions
Diffstat (limited to 'plugins/video_image')
-rw-r--r-- | plugins/video_image/video_image.module | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/video_image/video_image.module b/plugins/video_image/video_image.module index b2ca7f6..a85455d 100644 --- a/plugins/video_image/video_image.module +++ b/plugins/video_image/video_image.module @@ -99,9 +99,6 @@ function video_image_nodeapi(&$node, $op, $teaser) { $output['iid'] = $node->serial_data['iid']; return $output; case 'submit': - $node->serial_data['iid'] = $node->iid; - break; - case 'prepare': if (variable_get('video_image_auto_thumbnail_debug', false) && variable_get('video_image_auto_thumbnail', false)) { drupal_set_message(t('video_image_nodeapi: prepare: ready to thumbnail image')); } @@ -134,6 +131,11 @@ function video_image_nodeapi(&$node, $op, $teaser) { else if (isset($_SESSION['video_upload_file']->iid)) { $node->iid = $_SESSION['video_upload_file']->iid; } + + $node->serial_data['iid'] = $node->iid; + break; + case 'prepare': + ; break; case 'view': |