コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3342 ビュー

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'),
                });
アバター
破棄
関連投稿 返信 ビュー 活動
1
4月 21
3227
0
2月 22
1886
1
5月 21
15868
1
4月 21
4606
1
8月 20
9124