Improved ECN file upload validation. Checking for existence of file prior to upload.
This commit is contained in:
@ -2092,7 +2092,7 @@
|
||||
grid.dataSource.read($('#txtECNNumber').val());
|
||||
}
|
||||
function onFileUploadError(e) {
|
||||
alert("Error Uploading File!!! Please Try Again...");
|
||||
alert("Error Uploading File!!! " + e.XMLHttpRequest.responseText);
|
||||
var grid = $("#Attachments").data("kendoGrid");
|
||||
grid.dataSource.read($('#txtECNNumber').val());
|
||||
}
|
||||
|
Reference in New Issue
Block a user