BNA8/.resources/3ee90ff4ec4b9abe9e998619c38fcda8181f635a3cdc3d9c2de622342b777110

69 lines
1.4 KiB
Plaintext

{
"custom": {},
"events": {
"system": {
"onShutdown": {
"config": {
"script": "\tsystem.perspective.sendMessage(\"custom-documents-refreshlist\", {})"
},
"scope": "G",
"type": "script"
}
}
},
"params": {
"parentFolder": ""
},
"propConfig": {
"params.parentFolder": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 300,
"width": 400
}
},
"root": {
"children": [
{
"events": {
"component": {
"onFileReceived": {
"config": {
"script": "\tdocuments.uploadDocument(event.file, self.view.params.parentFolder)\n\t\n\t# Close popup:\n\t#system.perspective.closePopup(\"\")"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "FileUpload"
},
"position": {
"height": "100%",
"width": "100%"
},
"props": {
"fileSizeLimit": 100,
"maxUploads": 10,
"supportedFileTypes": [
"pdf"
]
},
"type": "ia.input.fileupload"
}
],
"meta": {
"name": "root"
},
"position": {
"x": 3,
"y": -7
},
"type": "ia.container.coord"
}
}