Skip to Content
Menu
This question has been flagged
3175 Zobrazenia

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šiť
Related Posts Replies Zobrazenia Aktivita
1
apr 21
3073
0
feb 22
1756
1
máj 21
15728
1
apr 21
4376
1
aug 20
8950