Updated. Managing addTagElement to Vocabulary
This commit is contained in:
parent
67591125e6
commit
cb9629d85a
|
@ -176,6 +176,12 @@ public class TagsPanel extends Composite{
|
|||
|
||||
if(tagsList.contains(tag))
|
||||
return;
|
||||
|
||||
//selecting the item of the vocabulary
|
||||
if(vocabulary!= null && vocabulary.size()>0) {
|
||||
tagsEnterListBox.setSelectedValue(tag);
|
||||
return;
|
||||
}
|
||||
|
||||
// ckan accepts only alphanumeric values
|
||||
String[] subTags = tag.trim().split(" ");
|
||||
|
|
Loading…
Reference in New Issue