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":[
|
"subwidgets":[
|
||||||
{
|
{
|
||||||
"widgettype":"IconBar",
|
"widgettype":"IconBar",
|
||||||
|
"id":"iconbar_{{loop.index}}",
|
||||||
"options":{
|
"options":{
|
||||||
"rate": 1.5,
|
"rate": 1.5,
|
||||||
"tools":[
|
"tools":[
|
||||||
@ -61,7 +62,7 @@
|
|||||||
],
|
],
|
||||||
"binds":[
|
"binds":[
|
||||||
{
|
{
|
||||||
"wid":"self",
|
"wid":"iconbar_{{loop.index}}",
|
||||||
"event":"recharge",
|
"event":"recharge",
|
||||||
"actiontype":"urlwidget",
|
"actiontype":"urlwidget",
|
||||||
"target":"PopupWindow",
|
"target":"PopupWindow",
|
||||||
@ -83,7 +84,7 @@
|
|||||||
"url":"{{entire_url('/unipay/recharge.ui')}}"
|
"url":"{{entire_url('/unipay/recharge.ui')}}"
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
"wid":"self",
|
"wid":"iconbar_{{loop.index}}",
|
||||||
"event":"detail",
|
"event":"detail",
|
||||||
"actiontype":"urlwidget",
|
"actiontype":"urlwidget",
|
||||||
"target":"PopupWindow",
|
"target":"PopupWindow",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user