fixed the control-label "Synched with THREDDS"
This commit is contained in:
parent
996c982b39
commit
dc1188cf2b
|
@ -294,10 +294,13 @@ public class DialogGetInfoBootstrap extends Composite {
|
||||||
if (fileModel.isDirectory()) {
|
if (fileModel.isDirectory()) {
|
||||||
cgTxtIsPublic.setVisible(true);
|
cgTxtIsPublic.setVisible(true);
|
||||||
htmlSetValue(txtIsPublic, fileModel.isPublic() + "");
|
htmlSetValue(txtIsPublic, fileModel.isPublic() + "");
|
||||||
|
|
||||||
|
GWT.log("Is synched? "+fileModel.getSynchedWithWsThredds());
|
||||||
|
|
||||||
if (fileModel.getSynchedWithWsThredds() != null) {
|
if (fileModel.getSynchedWithWsThredds() != null) {
|
||||||
if (fileModel.getSynchedWithWsThredds()) {
|
if (fileModel.getSynchedWithWsThredds()) {
|
||||||
txtThreddsSynched.setVisible(true);
|
cgThreddsSynched.setVisible(true);
|
||||||
|
//txtThreddsSynched.setVisible(true);
|
||||||
htmlSetValue(txtThreddsSynched, fileModel.getSynchedWithWsThredds() + "");
|
htmlSetValue(txtThreddsSynched, fileModel.getSynchedWithWsThredds() + "");
|
||||||
txtThreddsSynched.setHTML(fileModel.getSynchedWithWsThredds() + "");
|
txtThreddsSynched.setHTML(fileModel.getSynchedWithWsThredds() + "");
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
<b:ControlGroup
|
<b:ControlGroup
|
||||||
addStyleNames="my-control-group-get-info"
|
addStyleNames="my-control-group-get-info"
|
||||||
ui:field="cgThreddsSynched" visible="false">
|
ui:field="cgThreddsSynched" visible="false">
|
||||||
<b:ControlLabel>Synched with Thredds</b:ControlLabel>
|
<b:ControlLabel title="Synched with THREDDS">Synched</b:ControlLabel>
|
||||||
<b:Controls>
|
<b:Controls>
|
||||||
<g:HTML ui:field="txtThreddsSynched">
|
<g:HTML ui:field="txtThreddsSynched">
|
||||||
</g:HTML>
|
</g:HTML>
|
||||||
|
|
Loading…
Reference in New Issue