Skip to content

Commit

Permalink
Merge pull request #10 from CBIIT/develop
Browse files Browse the repository at this point in the history
Update the order of ICD-O-3 codes and Fix few bugs
  • Loading branch information
David-YuWei authored Dec 15, 2017
2 parents ec70423 + 83dbde5 commit 7a25d02
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 106 deletions.
13 changes: 7 additions & 6 deletions client/dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1376,10 +1376,7 @@ const func = {

}

if(v.n !== undefined){
let tmp = v.n.replace(/<b>/g,"").replace(/<\/b>/g, "");
row.tgts_enum_n += tmp + "#";
}


let lc = em.n.toLowerCase();
if(lc in matched_pv){
Expand All @@ -1404,6 +1401,8 @@ const func = {
}

if(v.n !== undefined){
let tmp = v.n.replace(/<b>/g,"").replace(/<\/b>/g, "");
row.tgts_enum_n += tmp + "#";
row.vs.push(v);
}

Expand Down Expand Up @@ -1722,8 +1721,10 @@ const func = {
//display result in a table
$(document.body).append(html);

if(tgts !== null && tgts !== undefined && tgts !== ""){
$('#show_all_gdc_syn').bind('click', function(){
//if(tgts !== null && tgts !== undefined && tgts !== ""){
let element = $('#show_all_gdc_syn');
if(element !== undefined){
element.bind('click', function(){
let v = $(this).prop("checked");
if(v){
$('#gdc-syn-data-list div.table-row[style="display: none;"]').each(function(){
Expand Down
6 changes: 4 additions & 2 deletions client/src/dialog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ const func = {
//display result in a table
$(document.body).append(html);

if(tgts !== null && tgts !== undefined && tgts !== ""){
$('#show_all_gdc_syn').bind('click', function(){
//if(tgts !== null && tgts !== undefined && tgts !== ""){
let element = $('#show_all_gdc_syn');
if(element !== undefined){
element.bind('click', function(){
let v = $(this).prop("checked");
if(v){
$('#gdc-syn-data-list div.table-row[style="display: none;"]').each(function(){
Expand Down
7 changes: 3 additions & 4 deletions client/src/values-table/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,7 @@ const func = {

}

if(v.n !== undefined){
let tmp = v.n.replace(/<b>/g,"").replace(/<\/b>/g, "");
row.tgts_enum_n += tmp + "#";
}


let lc = em.n.toLowerCase();
if(lc in matched_pv){
Expand All @@ -248,6 +245,8 @@ const func = {
}

if(v.n !== undefined){
let tmp = v.n.replace(/<b>/g,"").replace(/<\/b>/g, "");
row.tgts_enum_n += tmp + "#";
row.vs.push(v);
}

Expand Down
Loading

0 comments on commit 7a25d02

Please sign in to comment.