Project

General

Profile

« Previous | Next » 

Revision 70842e94

Added by Andreas Kohlbecker about 3 years ago

ref #7599 ref #6866 derivation tree optionally without content usable for specimen page

View differences:

modules/cdm_dataportal/cdm_dataportal.module
448 448
  );
449 449
}
450 450

  
451
function _add_js_derivation_tree_focus_unit($unit_uuid){
452
  drupal_add_js('jQuery(document).ready(function() {
453
      jQuery( ".derived-unit-tree > .uuid\\\\:' . $unit_uuid . ' > .unit-header, .derived-unit-sub-tree > .uuid\\\\:' . $unit_uuid . ' > .unit-header" )
454
         .css(\'font-weight\', \'bold\')
455
        .find(".page-link").hide();
456
    });',
457
    array('type' => 'inline')
458
  );
459
}
460

  
451 461
  /**
452 462
   * Provides the markup for an font awesome icon.
453 463
   *

Also available in: Unified diff