Project

General

Profile

« Previous | Next » 

Revision 695e929b

Added by Katja Luther over 6 years ago

ref #6728: update titleCache if author is edited

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java
429 429
		// selections
430 430
		else if (eventSource == selection_authorTeam) {
431 431
			getEntity().setAuthorship(
432
					(TeamOrPersonBase) selection_authorTeam.getSelection());
432
					(TeamOrPersonBase) selection_authorTeam.getEntity());
433 433
		} else if (eventSource == selection_inReference) {
434 434
			getEntity().setInReference(selection_inReference.getSelection());
435 435
		} else if (eventSource == selection_inSeries) {
......
489 489
		    if(!getEntity().isProtectedAbbrevTitleCache()){
490 490
		        getEntity().setAbbrevTitleCache(null, getEntity().isProtectedAbbrevTitleCache());
491 491
		    }
492
		    if(!getEntity().isProtectedTitleCache()){
493
                getEntity().setTitleCache(null, getEntity().isProtectedTitleCache());
494
            }
495

  
492 496
			toggleable_cache.setText(getEntity().getTitleCache());
493 497
			toggleableAbbrevCache.setText(getEntity().getAbbrevTitleCache());
494 498
		}

Also available in: Unified diff