Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3441 Zobrazení

Hi, i need to translate attribute message in xml that i need to use in JS.

<field name="field1" onhange_warning="warning message!"/>

I need to translate onhange_warning xml or in JS


here is my JS code


Dialog.alert(this, _t(this.attrs['onhange_warning']), {
                    title: _t('Warning'),
                });
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 21
3325
0
úno 22
2032
1
kvě 21
15992
1
dub 21
4734
1
srp 20
9232