Skip to content
Snippets Groups Projects
Commit c2f439a8 authored by felmer's avatar felmer
Browse files

Bug in title of sample chooser fixed

SVN: 11530
parent f7112143
No related branches found
No related tags found
No related merge requests found
...@@ -579,6 +579,8 @@ public abstract class Dict ...@@ -579,6 +579,8 @@ public abstract class Dict
public static final String TITLE_CHOOSE_EXPERIMENT = "TITLE_CHOOSE_EXPERIMENT"; public static final String TITLE_CHOOSE_EXPERIMENT = "TITLE_CHOOSE_EXPERIMENT";
public static final String INCORRECT_EXPERIMENT_SYNTAX = "incorrect_experiment_syntax"; public static final String INCORRECT_EXPERIMENT_SYNTAX = "incorrect_experiment_syntax";
public static final String TITLE_CHOOSE_SAMPLE = "title_choose_sample";
// //
// Grid Column Chooser // Grid Column Chooser
......
...@@ -107,7 +107,7 @@ public final class SampleChooserField extends ChosenEntitySetter<Sample> ...@@ -107,7 +107,7 @@ public final class SampleChooserField extends ChosenEntitySetter<Sample>
{ {
DisposableEntityChooser<Sample> browser = DisposableEntityChooser<Sample> browser =
SampleBrowserGrid.createChooser(viewContext, addShared, excludeWithoutExperiment); SampleBrowserGrid.createChooser(viewContext, addShared, excludeWithoutExperiment);
String title = viewContext.getMessage(Dict.TITLE_CHOOSE_EXPERIMENT); String title = viewContext.getMessage(Dict.TITLE_CHOOSE_SAMPLE);
new EntityChooserDialog<Sample>(browser, chosenSampleField, title, viewContext).show(); new EntityChooserDialog<Sample>(browser, chosenSampleField, title, viewContext).show();
} }
......
...@@ -396,6 +396,7 @@ var common = { ...@@ -396,6 +396,7 @@ var common = {
incorrect_material_syntax: "Incorrect material specification. Please provide the material code followed by the type in brackets: 'code (type)'.", incorrect_material_syntax: "Incorrect material specification. Please provide the material code followed by the type in brackets: 'code (type)'.",
TITLE_CHOOSE_EXPERIMENT: "Choose an Experiment", TITLE_CHOOSE_EXPERIMENT: "Choose an Experiment",
incorrect_experiment_syntax: "Incorrect experiment specification. Please provide the experiment group, project and code using the format '/group/project/code'.", incorrect_experiment_syntax: "Incorrect experiment specification. Please provide the experiment group, project and code using the format '/group/project/code'.",
title_choose_sample: "Choose a Sample",
// //
// Attachments // Attachments
......
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