fix: IconBar click not working - add id and reference in binds instead of self
This commit is contained in:
parent
8d447b90ea
commit
0080bbd7c4
@ -20,6 +20,7 @@
|
||||
"subwidgets":[
|
||||
{
|
||||
"widgettype":"IconBar",
|
||||
"id":"iconbar_{{loop.index}}",
|
||||
"options":{
|
||||
"rate": 1.5,
|
||||
"tools":[
|
||||
@ -61,7 +62,7 @@
|
||||
],
|
||||
"binds":[
|
||||
{
|
||||
"wid":"self",
|
||||
"wid":"iconbar_{{loop.index}}",
|
||||
"event":"recharge",
|
||||
"actiontype":"urlwidget",
|
||||
"target":"PopupWindow",
|
||||
@ -83,7 +84,7 @@
|
||||
"url":"{{entire_url('/unipay/recharge.ui')}}"
|
||||
}
|
||||
},{
|
||||
"wid":"self",
|
||||
"wid":"iconbar_{{loop.index}}",
|
||||
"event":"detail",
|
||||
"actiontype":"urlwidget",
|
||||
"target":"PopupWindow",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user