diff options
author | Heshan <heshan@heidisoft.com> | 2011-03-07 22:37:41 +0530 |
---|---|---|
committer | Heshan <heshan@heidisoft.com> | 2011-03-07 22:37:41 +0530 |
commit | a9addd6ed7ab0e15e1d4b3db4c67ea9b00578d2d (patch) | |
tree | b3efb6e8821cadfeace771eb1fc5e23b1925fe84 /video.field.inc | |
parent | f804c5913e46299bc52f97ce7905bc00c162db81 (diff) | |
download | video-a9addd6ed7ab0e15e1d4b3db4c67ea9b00578d2d.tar.gz video-a9addd6ed7ab0e15e1d4b3db4c67ea9b00578d2d.tar.bz2 |
Remove unwanted JS files and added manual thumbnail update on fallback and manual select.
Diffstat (limited to 'video.field.inc')
-rw-r--r-- | video.field.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video.field.inc b/video.field.inc index a342bc4..bb4e33f 100644 --- a/video.field.inc +++ b/video.field.inc @@ -251,7 +251,7 @@ function video_field_widget_process($element, &$form_state, $form) { $instance = field_widget_instance($element, $form_state); $settings = $field['settings']; $element['#theme'] = 'video_widget'; - $element['#attached']['css'][] = drupal_get_path('module', 'video') . '/css/video.css'; +// $element['#attached']['css'][] = drupal_get_path('module', 'video') . '/css/video.css'; $element['preview'] = array(); // preview the video thumbnail // if (isset($element['preview']) && $element['#value']['fid'] != 0) { |