Skip to content

Commit

Permalink
Revert #2191, fix #2221
Browse files Browse the repository at this point in the history
  • Loading branch information
mccalluc committed Oct 10, 2017
1 parent 0e612c8 commit 1453188
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions refinery/static/source/js/refinery/contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,18 +236,18 @@
pivotMatrixView.updateMatrix(arguments.response);
}

if (arguments.query == provVisQuery) {
/* Set face attributes for nodes in Provenance Visualization.*/
if (! provvis.get() instanceof provvisDecl.ProvVis && dataSetMonitor.analyses) {
provvis.run(currentStudyUuid, dataSetMonitor.analyses.objects, arguments.response);
}
/* Set face attributes for nodes in Provenance Visualization.*/
if (arguments.query == provVisQuery && provvis.get() instanceof provvisDecl.ProvVis === false) {
provvis.run(currentStudyUuid, dataSetMonitor.analyses.objects, arguments.response);
}

if (arguments.query == provVisQuery) {
lastProvVisSolrResponse = arguments.response;
}

/* Update Provenance Visualization by filtered nodeset. */
if (provvis.get() instanceof provvisDecl.ProvVis) {
provvisRender.update(provvis.get(), arguments.response);
}
/* Update Provenance Visualization by filtered nodeset. */
if (($('.nav-pills li.active a').attr('href').split("#")[1] === 'provenance-view-tab') && arguments.query == provVisQuery && provvis.get() instanceof provvisDecl.ProvVis) {
provvisRender.update(provvis.get(), arguments.response);
}
});

Expand Down

0 comments on commit 1453188

Please sign in to comment.