diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/img/hierarchy-icon.png b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/img/hierarchy-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..14d79935b79c6d5b7844c3dc74ed9a700bc58f5f Binary files /dev/null and b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/img/hierarchy-icon.png differ diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable.js index c34c45c30f5a79bf428145bc8cd8146a950c58a4..e880251524b5d481a2783f899cd5e97759b1c75c 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable.js @@ -382,7 +382,7 @@ function SampleTable(serverFacade, sampleTableId, profile, sampleTypeCode, inspe } } else { onClickFunction = function(sample) { - mainController.changeView("showSampleHierarchyPage", sample.permId); //TO-DO : Fix Global Access + mainController.changeView("showViewSamplePageFromPermId", sample.permId); //TO-DO : Fix Global Access } } @@ -452,7 +452,7 @@ function SampleTable(serverFacade, sampleTableId, profile, sampleTypeCode, inspe } if(localReference.enableEdit) { - tableFields[tableFields.length] = "<a class='btn' href=\"javascript:mainController.changeView('showViewSamplePageFromPermId','"+sample.permId+"');\"><i class='icon-edit'></i></a>"; + tableFields[tableFields.length] = "<a class='btn' href=\"javascript:mainController.changeView('showSampleHierarchyPage','"+sample.permId+"');\"><img src='./img/hierarchy-icon.png' style='width:16px; height:22px;' /></a>"; tableFields[tableFields.length] = ""; } else { tableFields[tableFields.length] = "";