aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeshan Wanigasooriya <heshanmw@gmail.com>2011-01-24 04:16:00 +0000
committerHeshan Wanigasooriya <heshanmw@gmail.com>2011-01-24 04:16:00 +0000
commitb8f6aadff71005fccca215f08752a860c6cce03d (patch)
tree01715080f60193630b2b775d6b911d0abbd3c15d
parent1dabf1dbf6303532bf6004f2a437eb6673b129ae (diff)
downloadvideo-b8f6aadff71005fccca215f08752a860c6cce03d.tar.gz
video-b8f6aadff71005fccca215f08752a860c6cce03d.tar.bz2
Remove the thumbnails validation as it shown some errors
-rw-r--r--video.module3
1 files changed, 2 insertions, 1 deletions
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(