EOM work 3

This commit is contained in:
Rick Falkvinge
2018-12-31 16:06:26 +01:00
parent 3525489ca1
commit 167938d2a7
+4 -1
View File
@@ -281,7 +281,7 @@
// Note that the function to call is selected dynamically!
SwarmopsJS.ajaxCall(
"EndOfMonth.aspx/Upload" + itemType,
"/Pages/v5/Ledgers/EndOfMonth.aspx/Upload" + itemType,
{ guid: uploadGuid, itemId: activeUpload },
function(result) {
if (result.Success) {
@@ -308,6 +308,9 @@
// Todo: add more error handling later, maybe
clientFailedUpload();
}
},
function(error) {
clientFailedUpload();
});
}