Updated. Managing addTagElement to Vocabulary
This commit is contained in:
parent
67591125e6
commit
cb9629d85a
|
@ -177,6 +177,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(" ");
|
||||
if(subTags.length == 1){
|
||||
|
|
Loading…
Reference in New Issue