]> git.koha-community.org Git - koha.git/commit
Bug 27869: let user know something went wrong with csv upload
authorLucas Gass <lucas@bywatersolutions.com>
Thu, 4 Mar 2021 19:37:10 +0000 (19:37 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Apr 2021 16:51:37 +0000 (18:51 +0200)
commit5aa24a6a479bd2066499d115f33004885264e3ee
treebfdd9cc8791e55622471b5832b652d7e9d11dd8c
parentcb03909af62585aa7a280cd49b2008b0e7b2cbb8
Bug 27869: let user know something went wrong with csv upload

To test:
-attempt to upload a malformed CSV file
-nothing happens, check the console and see the error: Uncaught TypeError: arrData[(arrData.length - 1)] is undefined
-apply patch
-try again
-now you should at least see a warning that something went wrong
-attempt to upload a good CSV file, it should work

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt