comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixationPanel.java @ 4148:1ba0927855b4

Prevent crash when input helper panel is used differently.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 16 Oct 2012 11:35:36 +0200
parents 16840d849298
children bbd82bd8e541
comparison
equal deleted inserted replaced
4147:db0b9cff8496 4148:1ba0927855b4
144 144
145 String river = artifact.getArtifactDescription().getRiver(); 145 String river = artifact.getArtifactDescription().getRiver();
146 createCallback(); 146 createCallback();
147 147
148 String callBack = "fixationCallback(this.checked, this.name)"; 148 String callBack = "fixationCallback(this.checked, this.name)";
149
150 if (this.artifact instanceof FixAnalysisArtifact == false)
151 return chartContainer;
152
149 FixAnalysisArtifact art = (FixAnalysisArtifact) this.artifact; 153 FixAnalysisArtifact art = (FixAnalysisArtifact) this.artifact;
150 154
151 overviewService.generateOverview( 155 overviewService.generateOverview(
152 locale, 156 locale,
153 artifact.getUuid(), 157 artifact.getUuid(),

http://dive4elements.wald.intevation.org