Skip to Content
Menu
This question has been flagged
3199 Rodiniai

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'),
                });
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
bal. 21
3081
0
vas. 22
1768
1
geg. 21
15742
1
bal. 21
4388
1
rugp. 20
8962