跳至內容
選單
此問題已被標幟
1 回覆
6942 瀏覽次數

How to add pop up message or message box with message every button clicked?

頭像
捨棄
最佳答案

One way is adding confirm attribute to xml button definition like:

<button string="TEST BUTTON" type="object" name="name_of_method" confirm="Are you sure ..." />

after module upgrade you will have confirm message popup asking: Are you sure...
 

hope it helps

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
7月 25
6321
0
11月 23
1286
1
9月 23
2220
1
7月 22
1125
19
8月 20
49726