Skip to content
Snippets Groups Projects
Commit 19d2a76c authored by juanf's avatar juanf
Browse files

BIS-604 / SP-1211: ELN UI - Hierarchical View (Hierarchy/Edit sample from...

BIS-604 / SP-1211: ELN UI - Hierarchical View (Hierarchy/Edit sample from table buttons swapped for better defaults)

SVN: 30826
parent bbf4411b
No related branches found
No related tags found
No related merge requests found
...@@ -382,7 +382,7 @@ function SampleTable(serverFacade, sampleTableId, profile, sampleTypeCode, inspe ...@@ -382,7 +382,7 @@ function SampleTable(serverFacade, sampleTableId, profile, sampleTypeCode, inspe
} }
} else { } else {
onClickFunction = function(sample) { 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 ...@@ -452,7 +452,7 @@ function SampleTable(serverFacade, sampleTableId, profile, sampleTypeCode, inspe
} }
if(localReference.enableEdit) { 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] = ""; tableFields[tableFields.length] = "";
} else { } else {
tableFields[tableFields.length] = ""; tableFields[tableFields.length] = "";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment