diff --git a/plugin/input/upload.js b/plugin/input/upload.js new file mode 100644 index 00000000..b4cacff0 --- /dev/null +++ b/plugin/input/upload.js @@ -0,0 +1,7 @@ +Volcanos(chat.ONFIGURE, {upload: { + onclick: function(event, can, meta, target, cbs) { + can.user.upload(event, can, function(msg) { + target.value = msg.Result() + }) + }, +}}) \ No newline at end of file