Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/30/14 16:35:16 (11 years ago)
Author:
mroscoe
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/App_Code/ExceptionHelper.cshtml

    r11053 r11059  
    129129      for(i = 0; i < result.length; i++) {
    130130        $("#" + "@(destinationTag)").append(
    131           '<section class="chartContainer">' +
     131          '<section id="' + result[i][0] + 'Container" class="chartContainer">' +
    132132            '<h1 class="title" id="@(destinationTag)' + result[i][0] + '">Task ' + result[i][0] + '</h1>' +
    133133            '<button class="collapse" onclick="CollapseSection(this)">+</button>' +
     
    149149  //Opens a sub-container with slave information
    150150  function ShowSlaveInfo(caller) {
    151     @*@ChartHelper.SlaveInfoChart("",url,limit,startDate,endDate,"null","NotApplicable","null","$(caller).html()")*@
     151    if($(caller).parent().parent().children(".chartContainer").length == 0) {
     152      @ChartHelper.SlaveInfoChart("caller.parentNode.parentNode.id",url,limit,true,startDate,endDate,null,null,null,"$(caller).html()")
     153    }
     154    else {
     155      $(caller).parent().parent().children(".chartContainer").remove();
     156    }
    152157  }
    153158  </text>
Note: See TracChangeset for help on using the changeset viewer.