uncommented submit from for D&D
This commit is contained in:
parent
4a3f31a0d7
commit
9439ffa8c8
|
@ -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()();
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue