asset.setCheckinComment(comment);
final boolean[] saved = {false};
if (!saved[0]) LoadingPopup.showMessage(constants.SavingPleaseWait());
AssetServiceAsync assetService = GWT.create(AssetService.class);
assetService.checkinVersion(asset,
new GenericCallback<String>() {
public void onSuccess(String uuid) {
if (uuid == null) {
ErrorPopup.showMessage(constants.FailedToCheckInTheItemPleaseContactYourSystemAdministrator());