@Override
public void onClick(ClickEvent event) {
canContinue = false;
- cancelUpload();
+ cancelUpload();
+ GSS.get().showFileList(true);
}
});
buttons.add(cancel);
private void cancelUpload() {
for (HttpRequest request: requests)
request.abort();
- hide();
+ hide();
}
/**
case 201: // Created falls through to updated.
case 204:
filesRemaining.remove(0);
- if(filesRemaining.isEmpty()){
- selectedFiles = filesRemaining;
+ if(filesRemaining.isEmpty()){
finish();
break;
}