Project

General

Profile

« Previous | Next » 

Revision 1d6463ca

Added by Katja Luther almost 8 years ago

#4018: don't allow to finish, if no language is selected, quick fix

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/TermTranslationWizard.java
53 53
    @Override
54 54
    public boolean performFinish() {
55 55
        Representation representation = page.getTargetRepresentation();
56

  
56
        
57
        if (representation.getLanguage() == null){
58
        	return false;
59
        }
57 60
        if (!representation.getText().equals("") || !representation.getLabel().equals("") || !representation.getAbbreviatedLabel().equals("")) {
58 61
            term.addRepresentation(representation);
59 62
        }

Also available in: Unified diff