Changeset 11084 for branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Scripts/CollapsingSection.js
- Timestamp:
- 07/04/14 08:59:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Scripts/CollapsingSection.js
r11059 r11084 45 45 var jqCaller = $(caller); 46 46 if (jqCaller.html() == "-") { 47 jqCaller.parent().children("canvas, div, fieldset, label, .chartContainer ").hide();47 jqCaller.parent().children("canvas, div, fieldset, label, .chartContainer, .tabSection").hide(); 48 48 jqCaller.html("+"); 49 49 } 50 50 else { 51 jqCaller.parent().children("canvas, div, fieldset, label, .chartContainer ").show();51 jqCaller.parent().children("canvas, div, fieldset, label, .chartContainer, .tabSection").show(); 52 52 jqCaller.html("-"); 53 53 } 54 54 } 55 56 /* Because some chart sections are collapsed(display=none) on resize the charts will not chart 57 properly unless they are opened, them updated, then closed again. */ 58 function ResizeOpenCloseTabular(caller) { 59 var jqCaller = $(caller); 60 if (jqCaller.css("display") != "none") { 61 jqCaller.hide(); 62 } 63 else { 64 jqCaller.show(); 65 } 66 }
Note: See TracChangeset
for help on using the changeset viewer.