NxTIC/view/js/input-min.js

2 lines
198 B
JavaScript
Raw Normal View History

var fileInput=document.querySelector("input[type=file]");fileInput.addEventListener("change",function(b){api.send({path:"upload/call_log",file:fileInput.files[0]},function(a){console.log(a)})},!1);