Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/20/14 16:20:02 (10 years ago)
Author:
mroscoe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Scripts/CollapsingSection.js

    r11020 r11030  
    2626  }
    2727}
     28
     29/* Passed the interior div this fucntion is used to create an automatically collapsed
     30  section */
     31function collapsedByDefault(caller) {
     32  $(caller).parent().children("canvas, div, fieldset, label").css("display","none");
     33}
     34
     35/* Used when scrolling to a task by error, opens the container before task is scrolled to */
     36function openOnError(caller) {
     37  var jqCaller = $(caller);
     38  jqCaller.parent().children("canvas, div, fieldset, label").fadeIn();
     39  jqCaller.parent().children("button").html("-");
     40}
Note: See TracChangeset for help on using the changeset viewer.