Skip to Content
मेन्यू
This question has been flagged
3327 Views

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
Discard
Related Posts Replies Views Activity
1
अप्रैल 21
3222
0
फ़र॰ 22
1872
1
मई 21
15861
1
अप्रैल 21
4569
1
अग॰ 20
9093