diff --git a/Site/Pages/v5/Ledgers/EndOfMonth.aspx b/Site/Pages/v5/Ledgers/EndOfMonth.aspx index 22a14cc7..47bec28c 100644 --- a/Site/Pages/v5/Ledgers/EndOfMonth.aspx +++ b/Site/Pages/v5/Ledgers/EndOfMonth.aspx @@ -294,8 +294,7 @@ if (itemType == "BankTransactionData") { // Show a pretty dialog telling the user that things went to unpretty shit - alert("Checkpoint hit"); - + alertify.alert("THIS FILE CANNOT BE PROCESSED

There was an error trying to read the file. Is it really a file of the right type, for the right bank?

Please try again. If the error persists, try getting a fresh transaction file."); // TODO: Localize } activeUpload = null; @@ -323,9 +322,7 @@ activeUpload = null; } else { - if (result.DisplayMessage == "ERROR_FILEDATAFORMAT") { - alertify.alert("THIS FILE CANNOT BE PROCESSED

There was an error trying to read the file. Is it really a file of the right type, for the right bank?"); // TODO: Localize - } else { + if (result.DisplayMessage != "ERROR_FILEDATAFORMAT") { alert(result.DisplayMessage); // temporary debug function } // Todo: add more error handling later, maybe