uncommented submit from for D&D

This commit is contained in:
Francesco Mangiacrapa 2024-08-02 17:13:37 +02:00
parent 4a3f31a0d7
commit 9439ffa8c8
1 changed files with 18 additions and 18 deletions

View File

@ -672,24 +672,24 @@ public class MultipleDNDUpload extends LayoutPanel implements HasWorskpaceUpload
} }
// xhr.send(formdata); xhr.send(formdata);
// instance.@org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload::addNewSubmitToMonitor(Ljava/lang/String;)(uploadUUID); instance.@org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload::addNewSubmitToMonitor(Ljava/lang/String;)(uploadUUID);
//
// if(numFolder>0){ if(numFolder>0){
// var msg; var msg;
// if(numFolder==files.length){ if(numFolder==files.length){
// msg = "Is not possible to upload a folder"; msg = "Is not possible to upload a folder";
// instance.@org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload::showAlert(Ljava/lang/String;)(msg); instance.@org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload::showAlert(Ljava/lang/String;)(msg);
// return; return;
// } }
//
// var msg = "Ignored "; var msg = "Ignored ";
// msg += numFolder > 1? numFolder+" folders": numFolder+" folder"; msg += numFolder > 1? numFolder+" folders": numFolder+" folder";
// msg+= " during upload"; msg+= " during upload";
// console.log(msg); console.log(msg);
// instance.@org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload::showAlert(Ljava/lang/String;)(msg); instance.@org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload::showAlert(Ljava/lang/String;)(msg);
// } }
// instance.@org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload::reset()(); instance.@org.gcube.portlets.widgets.workspaceuploader.client.uploader.dragdrop.MultipleDNDUpload::reset()();
}); });