46,7 → 46,6 |
|
public MetadonneesVue() { |
initWidget(binder.createAndBindUi(this)); |
|
// Le lien ne doit ĂȘtre affichĂ© que sur pictoflora |
String urlCourante = Window.Location.getHref(); |
Config config = new Config(); |
166,7 → 165,7 |
HasText[] champs = {nomRetenu, nomCommun, famille, localite, auteur, motsClefs, commentaire, milieu, lieuDit, dateReleve, dateTransmission}; |
for (int i = 0; i < champs.length; i ++) { |
HasText champ = champs[i]; |
if ("".equals(champ.getText())) { |
if (champ.getText() == null || champ.getText().isEmpty()) { |
Widget widget = (Widget) champ; |
widget.getParent().setVisible(false); |
} |