File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1414 window . location = LABKEY . ActionURL . buildURL ( 'project' , 'begin' , wbcontainer ) ;
1515 }
1616 } ) ;
17+
18+ return false ;
1719}
1820
1921var trad1 = '' ;
4446
4547 if ( matrixExps != undefined || tradExps != undefined ) {
4648 document . getElementById ( 'matches' ) . innerHTML = 'Possible Matches' ;
47- document . getElementById ( 'experiments' ) . innerHTML = '  Trad. 1: ' + '<a href=javascript:toExperiment(trad1)>' + trad1 + '</a>' + '  Trad. 2: ' + '<a href=javascript:toExperiment(trad2)>' + trad2 + '</a>' + '  Matrix 1: ' + '<a href=javascript:toExperiment(matrix1)>' + matrix1 + '</a>' + '  Matrix 2: ' + '<a href=javascript:toExperiment(matrix2)>' + matrix2 + '</a>' ;
48- }
49+ document . getElementById ( 'experiments' ) . innerHTML = '  Trad. 1: ' + '<a id="trad1">' + LABKEY . Utils . encodeHtml ( trad1 ) + '</a>' + '  Trad. 2: ' + '<a id="trad2">' + LABKEY . Utils . encodeHtml ( trad2 ) + '</a>' + '  Matrix 1: ' + '<a id="matrix1">' + LABKEY . Utils . encodeHtml ( matrix1 ) + '</a>' + '  Matrix 2: ' + '<a id="matrix2">' + LABKEY . Utils . encodeHtml ( matrix2 ) + '</a>' ;
50+ document . getElementById ( 'trad1' ) [ 'onclick' ] = function ( ) { toExperiment ( trad1 ) } ;
51+ document . getElementById ( 'trad2' ) [ 'onclick' ] = function ( ) { toExperiment ( trad2 ) } ;
52+ document . getElementById ( 'matrix1' ) [ 'onclick' ] = function ( ) { toExperiment ( matrix1 ) } ;
53+ document . getElementById ( 'matrix2' ) [ 'onclick' ] = function ( ) { toExperiment ( matrix2 ) } ;
54+ }
4955
5056 var allexps = matrix1 + ';' + matrix2 + ';' + trad1 + ';' + trad2 ;
5157
You can’t perform that action at this time.
0 commit comments