aboutsummaryrefslogtreecommitdiff
path: root/video.field.inc
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-03-07 22:37:41 +0530
committerHeshan <heshan@heidisoft.com>2011-03-07 22:37:41 +0530
commita9addd6ed7ab0e15e1d4b3db4c67ea9b00578d2d (patch)
treeb3efb6e8821cadfeace771eb1fc5e23b1925fe84 /video.field.inc
parentf804c5913e46299bc52f97ce7905bc00c162db81 (diff)
downloadvideo-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.inc2
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) {