diff --git a/OConnor/resources/views/Elispot_Matrix.html b/OConnor/resources/views/Elispot_Matrix.html index 7efc071..2738ecc 100644 --- a/OConnor/resources/views/Elispot_Matrix.html +++ b/OConnor/resources/views/Elispot_Matrix.html @@ -14,6 +14,8 @@ window.location = LABKEY.ActionURL.buildURL('project','begin', wbcontainer); } }); + + return false; } var trad1 = ''; @@ -44,8 +46,12 @@ if(matrixExps != undefined || tradExps != undefined){ document.getElementById('matches').innerHTML = 'Possible Matches'; - document.getElementById('experiments').innerHTML = '  Trad. 1: ' + '' + trad1 + '' + '  Trad. 2: ' + '' + trad2 + '' + '  Matrix 1: ' + '' + matrix1 + '' + '  Matrix 2: ' + '' + matrix2 + ''; - } + document.getElementById('experiments').innerHTML = '  Trad. 1: ' + '' + LABKEY.Utils.encodeHtml(trad1) + '' + '  Trad. 2: ' + '' + LABKEY.Utils.encodeHtml(trad2) + '' + '  Matrix 1: ' + '' + LABKEY.Utils.encodeHtml(matrix1) + '' + '  Matrix 2: ' + '' + LABKEY.Utils.encodeHtml(matrix2) + ''; + document.getElementById('trad1')['onclick'] = function() { toExperiment(trad1) }; + document.getElementById('trad2')['onclick'] = function() { toExperiment(trad2) }; + document.getElementById('matrix1')['onclick'] = function() { toExperiment(matrix1) }; + document.getElementById('matrix2')['onclick'] = function() { toExperiment(matrix2) }; + } var allexps = matrix1 + ';' + matrix2 + ';' + trad1 + ';' + trad2;