Skip to content

Commit

Permalink
Mccalluc/provvis regression (#2223)
Browse files Browse the repository at this point in the history
* Revert #2191, fix #2221

* factor out "if"... still works
  • Loading branch information
mccalluc authored and scottx611x committed Oct 12, 2017
1 parent 7b677f5 commit 2bdf6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions refinery/static/source/js/refinery/contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,14 @@

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

lastProvVisSolrResponse = arguments.response;

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

0 comments on commit 2bdf6f2

Please sign in to comment.