summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_row_fields.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_row_fields.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_row_fields.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_row_fields.inc b/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_row_fields.inc
index 65510d2..b1c02e1 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_row_fields.inc
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/plugins/views_plugin_row_fields.inc
@@ -1,4 +1,5 @@
<?php
+
/**
* @file
* Contains the base row style plugin.
@@ -18,8 +19,8 @@ class views_plugin_row_fields extends views_plugin_row {
$options['inline'] = array('default' => array());
$options['separator'] = array('default' => '');
- $options['hide_empty'] = array('default' => FALSE);
- $options['default_field_elements'] = array('default' => TRUE);
+ $options['hide_empty'] = array('default' => FALSE, 'bool' => TRUE);
+ $options['default_field_elements'] = array('default' => TRUE, 'bool' => TRUE);
return $options;
}
@@ -61,6 +62,9 @@ class views_plugin_row_fields extends views_plugin_row {
'#size' => 10,
'#default_value' => isset($this->options['separator']) ? $this->options['separator'] : '',
'#description' => t('The separator may be placed between inline fields to keep them from squishing up next to each other. You can use HTML in this field.'),
+ '#dependency' => array(
+ 'edit-row-options-default-field-elements' => array(1),
+ ),
);
$form['hide_empty'] = array(