ref #7069: clicking on x closes delete configuration wizard without deleting taxon...
authorKatja Luther <k.luther@bgbm.org>
Fri, 16 Feb 2018 10:44:36 +0000 (11:44 +0100)
committerKatja Luther <k.luther@bgbm.org>
Fri, 16 Feb 2018 10:44:36 +0000 (11:44 +0100)
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/e4/handler/RemotingDeleteTaxonNodeHandlerE4.java

index c02b61dcc9a2357bc7a33b72c3888709f82c6f9f..d28a23ec8024cfb51d56affd68c35f65cdfe22e4 100644 (file)
@@ -148,7 +148,7 @@ public class RemotingDeleteTaxonNodeHandlerE4 extends RemotingCdmHandlerE4 {
                         //move children
                         configNodes.setChildHandling(ChildHandling.MOVE_TO_PARENT);
                         config.setTaxonNodeConfig(configNodes);
-                    } else if (result == 2){
+                    } else {
                         return Status.CANCEL_STATUS;
                     }
                 } else{