Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java @ 5217:6f23afa5323e
Fixed DoubleArrayPanel. Avoid NPE while creating panel.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 11 Mar 2013 14:53:15 +0100 |
parents | d07abdb7ed7f |
children |
comparison
equal
deleted
inserted
replaced
5216:c0bdbe24c115 | 5217:6f23afa5323e |
---|---|
62 ti.setShowTitle(false); | 62 ti.setShowTitle(false); |
63 sti.setShowTitle(false); | 63 sti.setShowTitle(false); |
64 sti.setValue(title); | 64 sti.setValue(title); |
65 | 65 |
66 ti.addBlurHandler(blurHandler); | 66 ti.addBlurHandler(blurHandler); |
67 ti.addFocusHandler(focusHandler); | 67 if (focusHandler != null) { |
68 ti.addFocusHandler(focusHandler); | |
69 } | |
68 | 70 |
69 if (titleOrientation == TitleOrientation.RIGHT) { | 71 if (titleOrientation == TitleOrientation.RIGHT) { |
70 setFields(ti, sti); | 72 setFields(ti, sti); |
71 } | 73 } |
72 else { | 74 else { |