rbac/wwwroot/qr_scan.ui

21 lines
534 B
XML

{
"widgettype": "QRCodeScan",
"options": {},
"binds": [
{
"wid": "self",
"event": "recognized",
"actiontype": "script",
"target": "self",
"script": "if(event && event.params && event.params.text) window.open(event.params.text, '_blank');"
},
{
"wid": "self",
"event": "recognized",
"actiontype": "script",
"target": "-@PopupWindow",
"script": "this.dismiss()"
}
]
}