Skip to content

Commit

Permalink
Web: Bugfix: qcMergedPageChartScanFileStatistics.js when close and open
Browse files Browse the repository at this point in the history
When collapse and then expand again, it was adding the data again.
Fixed to detect that retrieved data and only open/display.
  • Loading branch information
danjasuw committed Dec 5, 2018
1 parent 4ba5a63 commit 5429981
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ var QCMergedPageChartScanFileStatistics = function() {
this.loadScanStatistics = function( params ) {
var objectThis = this;

_chart_isLoaded = _IS_LOADED_LOADING;

var hash_json_field_Contents_JSONString = JSON.stringify( _get_hash_json_Contents() );
var ajaxRequestData = {
project_search_id : _project_search_ids,
Expand Down Expand Up @@ -440,6 +442,8 @@ var QCMergedPageChartScanFileStatistics = function() {

var dataForTable = { perSearchDataList : displayPerSearchList, searchCountPlusOne : searchCountPlusOne };

$scan_file_overall_statistics_block.empty();

var html = _handlebarsTemplate_scan_file_overall_statistics_template( dataForTable );
// var $psm_block_template =
$( html ).appendTo( $scan_file_overall_statistics_block );
Expand Down

0 comments on commit 5429981

Please sign in to comment.