From b8f6aadff71005fccca215f08752a860c6cce03d Mon Sep 17 00:00:00 2001 From: Heshan Wanigasooriya Date: Mon, 24 Jan 2011 04:16:00 +0000 Subject: Remove the thumbnails validation as it shown some errors --- video.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video.module b/video.module index 730e74e..c9ca2ad 100644 --- a/video.module +++ b/video.module @@ -847,9 +847,10 @@ function video_default_field_settings($settings) { $form['default_video_thumbnail'] = array( '#title' => t('Default video thumbnail'), '#type' => 'managed_file', +// '#element_validate' => array('video_field_default_thumbnail_validate'), '#description' => t('If use default thumbnanil is selected, this image will be shown on display.'), '#default_value' => !empty($settings['default_video_thumbnail']) ? $settings['default_video_thumbnail'] : '', - '#upload_location' => 'public://videos/thumbnails/default/' . $settings['default_video_thumbnail'], + '#upload_location' => 'public://videos/thumbnails/default', '#weight' => 19, ); $form['preview_video_thumb_style'] = array( -- cgit v1.2.3