X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=afb-client%2Fapp%2FFrontend%2Fwidgets%2FFormInput%2FUploadFiles.js;h=90110c903efe46912e0d1405636aaee7b0d9cdee;hb=95a5e12dca0e0e0eb93b3dad69e529d737840d38;hp=6c68960cc386ac18d3178951e7791a5417c9bd4b;hpb=4136c1506e0c894e604ec069339313987a7e05e7;p=src%2Fapp-framework-demo.git diff --git a/afb-client/app/Frontend/widgets/FormInput/UploadFiles.js b/afb-client/app/Frontend/widgets/FormInput/UploadFiles.js index 6c68960..90110c9 100644 --- a/afb-client/app/Frontend/widgets/FormInput/UploadFiles.js +++ b/afb-client/app/Frontend/widgets/FormInput/UploadFiles.js @@ -21,12 +21,12 @@ * https://github.com/nervgh/angular-file-upload/blob/master/src/services/FileUploader.js * https://stuk.github.io/jszip/documentation/howto/read_zip.html * http://onehungrymind.com/zip-parsing-jszip-angular/ + * http://stackoverflow.com/questions/15341912/how-to-go-from-blob-to-arraybuffer + * + * Bugs: zip file sent even when flag as invalid */ - -function changeInput() { - console.log ('input imgClicked'); -} + (function() { 'use strict'; @@ -39,16 +39,16 @@ var tmpl = '