*** views-accordion.js	Thu Jan 15 03:14:12 1970
--- views-accordion.js	Thu Jan 15 03:14:12 1970
***************
*** 19,25 ****
        var togglelinks = this.togglelinks;  // wether or not to show Open All / Close All links
        var disablecloseothers = this.disablecloseothers;  // wether or not when clicking a closed item we should close all others.
        var rowstartopen = this.rowstartopen; // The row that we have to open on load, if any.
-       var enableheaderlinks = this.enableheaderlinks; // Allow links placed in the header to be clickable or not.
  	  
        // the selectors we have to play with
        var contentSelector = 'div.' + contentClass; // used for selecting all accordion content to show/hide
--- 19,24 ----
***************
*** 101,110 ****
                $ourTrigger.addClass(activeClass);
              }
            }
- 		  //disable link in header elements if needed
- 		  if (!enableheaderlinks) {
              return false;
- 		  }
          });
  
          $triggers.hover(function(){
--- 100,106 ----
*** views_accordion_style_plugin.inc	Thu Jan 15 03:14:12 1970
--- views_accordion_style_plugin.inc	Thu Jan 15 03:14:12 1970
***************
*** 24,30 ****
      $options['include-style'] = array('default' => 1);
      $options['auto-cycle'] = array('default' => 0);
      $options['auto-cycle-speed'] = array('default' => 5);
-     $options['header-is-link'] = array('default' => 0);	
      return $options;
    }
  
--- 24,29 ----
***************
*** 123,134 ****
        '#process' => array('views_process_dependency'),
        '#dependency' => array('edit-style-options-auto-cycle' => array(TRUE)),
      );
-     $form['header-is-link'] = array(
-       '#type' => 'checkbox',
-       '#title' => t('Allow links in header to be clickable'),
-       '#default_value' => $this->options['header-is-link'],
-       '#description' => t('Whether or not clicking on a item in the header will follow a link or only open the accordion.'),
-     );	
    }
  
    /**
--- 122,127 ----
***************
*** 152,159 ****
      $view_settings['autocyclespeed'] = check_plain($this->options['auto-cycle-speed']) * 1000;
      $view_settings['display'] =  'views-accordion-'. $this->view->name .'-'. $this->view->current_display;
      $view_settings['usegroupheader'] = $view_settings['grouping'] ? $this->options['use-grouping-header'] : 0;
-     $view_settings['enableheaderlinks'] =  $this->options['header-is-link'] ? 1 : 0;
- 	
      $view_id = 'views-accordion-'. $this->view->name .'-'. $this->view->current_display;
  
      if ($view_settings['usegroupheader'] == 1) {
--- 145,150 ----
