Project

General

Profile

Revision 0656435d

ID0656435dc061bddf14ebdbdad6b3868f6e0f2eb3
Parent c7b20ed3
Child 3158af23

Added by Katja Luther almost 2 years ago

fix #7484: fix correct colouring of fields for protected titlecache and abbrev titlecache

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java
591 591
	protected void setIrrelevantReferenceDetail(boolean abbrev){
592 592

  
593 593
		List<Object> except = new ArrayList();
594

  
594 595
	    except.addAll( Arrays.asList(new Object[] { toggleable_cache, toggleableAbbrevCache, text_editor, text_isbn, text_issn, text_organisation, text_pages, text_placePublished, text_publisher, text_referenceAbstract,  text_uri, selection_institution}));
595 596
	    boolean pushedState;
596 597
	    if (abbrev){
597 598
	      except.add(text_title);
598
	      pushedState = toggleableAbbrevCache.getState();
599 599
	    } else{
600
	    	except.add(text_abbrevTitle);
601
	    	pushedState = toggleable_cache.getState();
600
	      except.add(text_abbrevTitle);
602 601
	    }
602
	    pushedState = toggleableAbbrevCache.getState() || toggleable_cache.getState();
603

  
603 604
	    switch( getEntity().getType()){
604 605
	    case Journal:
605 606
	    	except.add(element_timePeriod);
......
611 612
	    default:
612 613
	    	break;
613 614
	    }
615

  
614 616
	    setIrrelevant(pushedState, except);
617
	    text_title.setIrrelevant(toggleable_cache.getState());
618
	    text_abbrevTitle.setIrrelevant(toggleableAbbrevCache.getState());
615 619
	}
616 620

  
617 621

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)