comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/CollectionView.java @ 8860:28df64078f27

Merge with 0862ea5d66baf60e7eee496d130a35157cc9ec12
author gernotbelger
date Fri, 19 Jan 2018 11:23:42 +0100
parents 8c64617a7991 5e38e2924c07
children 23945061daec
comparison
equal deleted inserted replaced
8854:7bbfb24e6eec 8860:28df64078f27
662 addArtifactService.add( 662 addArtifactService.add(
663 collection, art, locale, 663 collection, art, locale,
664 new AsyncCallback<Collection>() { 664 new AsyncCallback<Collection>() {
665 @Override 665 @Override
666 public void onFailure(Throwable caught) { 666 public void onFailure(Throwable caught) {
667 GWT.log("An error occured while adding artifact."); 667 GWT.log("An error occured while "
668 SC.warn(FLYS.getExceptionString(messages, caught)); 668 + "adding artifact.");
669 SC.warn(FLYS.getExceptionString(
670 messages, caught));
669 } 671 }
670 672
671 @Override 673 @Override
672 public void onSuccess(Collection newCollection) { 674 public void onSuccess(
675 Collection newCollection) {
673 GWT.log("Successfully added artifacts."); 676 GWT.log("Successfully added artifacts.");
674 setCollection(newCollection); 677 setCollection(newCollection);
675 } 678 }
676 } 679 }
677 ); 680 );

http://dive4elements.wald.intevation.org