summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.18/sites/all/modules/date/date_repeat/date_repeat_form.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.18/sites/all/modules/date/date_repeat/date_repeat_form.inc')
-rw-r--r--kolab.org/www/drupal-7.18/sites/all/modules/date/date_repeat/date_repeat_form.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/kolab.org/www/drupal-7.18/sites/all/modules/date/date_repeat/date_repeat_form.inc b/kolab.org/www/drupal-7.18/sites/all/modules/date/date_repeat/date_repeat_form.inc
index 9cef000..db7a79b 100644
--- a/kolab.org/www/drupal-7.18/sites/all/modules/date/date_repeat/date_repeat_form.inc
+++ b/kolab.org/www/drupal-7.18/sites/all/modules/date/date_repeat/date_repeat_form.inc
@@ -941,7 +941,6 @@ function theme_date_repeat_current_additions($rows = array()) {
*/
function theme_date_repeat_rrule($vars) {
$element = $vars['element'];
- $class = $element['#date_repeat_collapsed'] ? array('date-no-float', 'collapsible', 'collapsed') : array('date-no-float', 'collapsible');
$id = drupal_html_id('repeat-settings-fieldset');
$parents = $element['#parents'];
$selector = "{$parents[0]}[{$parents[1]}][{$parents[2]}][show_repeat_settings]";
@@ -949,11 +948,10 @@ function theme_date_repeat_rrule($vars) {
'#type' => 'item',
'#title' => t('Repeat settings'),
'#title_display' => 'invisible',
- '#attributes' => array('class' => $class),
'#markup' => $element['#children'],
'#states' => array(
- 'visible' => array(
- ":input[name=\"{$selector}\"]" => array('checked' => TRUE),
+ 'invisible' => array(
+ ":input[name=\"{$selector}\"]" => array('checked' => FALSE),
),
),
'#id' => $id,