|
|
|
@ -307,13 +307,8 @@ public class DialogGetInfoBootstrap extends Composite {
|
|
|
|
|
htmlSetValue(txtMimeType, fileModel.getType());
|
|
|
|
|
|
|
|
|
|
txtAreaDescription.setResize(ResizeType.VERTICAL);
|
|
|
|
|
|
|
|
|
|
if (fileModel.isDirectory()) {
|
|
|
|
|
txtAreaDescription.setValue(fileModel.getDescription());
|
|
|
|
|
// add(txtAreaDescription);
|
|
|
|
|
} else
|
|
|
|
|
loadDescription(fileModel.getIdentifier());
|
|
|
|
|
|
|
|
|
|
//load description
|
|
|
|
|
loadDescription(fileModel.getIdentifier());
|
|
|
|
|
//owner
|
|
|
|
|
htmlSetValue(txtOwner, fileModel.getOwnerFullName());
|
|
|
|
|
//creation date
|
|
|
|
@ -329,14 +324,12 @@ public class DialogGetInfoBootstrap extends Composite {
|
|
|
|
|
}else {
|
|
|
|
|
loadLastModificationDate(fileModel.getIdentifier());
|
|
|
|
|
loadSize(fileModel.getIdentifier());
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
htmlSetValue(txtShared, fileModel.isShared()+"");
|
|
|
|
|
|
|
|
|
|
// USERS SHARED
|
|
|
|
|
if (fileModel.isShared()) {
|
|
|
|
|
|
|
|
|
|
cgSharedWith.setVisible(true);
|
|
|
|
|
loadACLsDescriptionForSharedFolder(fileModel.getIdentifier());
|
|
|
|
|
}
|
|
|
|
@ -545,6 +538,7 @@ public class DialogGetInfoBootstrap extends Composite {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void onFailure(Throwable caught) {
|
|
|
|
|
loadDescription(fileModel.getIdentifier());
|
|
|
|
|
new MessageBoxAlert("Error on updating description...", caught.getMessage(), null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|