Sha256: db5f40b14eeae5cb6df3bcd8493c6f32bca175d7f4640e6b7a28309d208cea39

Contents?: true

Size: 876 Bytes

Versions: 4

Compression:

Stored size: 876 Bytes

Contents

function getSampleOutput(t2_server, uuid, output, wid, wkf_version) {
  // t2 server REST call to sample output
  var httpcall = "http://" + document.location.host + "/t2web/run/" + uuid + "/output/" + output +
                 "?server=" + t2_server + "&wid=" + wid + "&wkf_version=" + wkf_version;
  // ajax request
  $.get(httpcall, function (result) {
    window.frames['data-display'].document.documentElement.innerHTML = result;
  });

}

function checkRunStatus(t2_server, uuid) {
  // t2 server REST call to uuid's status
  var httpcall = "http://" + document.location.host + "/runs/" + uuid + "/status?server=" + t2_server;

  // ajax request
  $.get(httpcall, function (result) {
    if (result == 'Finished') {
      window.frames['data-navigation'].document.documentElement.innerHTML = results_navigation;
      clearInterval(runStatusIntervalId);
    }
  });

}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
t2-web-0.0.8 public/scripts/results.js
t2-web-0.0.7 public/scripts/results.js
t2-web-0.0.6 public/scripts/results.js
t2-web-0.0.5 public/scripts/results.js