xadmin_bugfix icon indicating copy to clipboard operation
xadmin_bugfix copied to clipboard

修正了一个m2m_transfer的bug,希望添加

Open RyanLoil opened this issue 4 years ago • 2 comments

xadmin.widget.select-transfer.js 第172行修改为: box.options[i].selected = true; 然后在第73行前添加: if (box == this.to_box) { this.to_box[0].options[0].selected = true; } 修复的bug是必须点击一下右侧选中框才能提交这个问题。

RyanLoil avatar Mar 24 '20 14:03 RyanLoil

xadmin.widget.select-transfer.js 第172行修改为: box.options[i].selected = true; 然后在第73行前添加: if (box == this.to_box) { this.to_box[0].options[0].selected = true; } 修复的bug是必须点击一下右侧选中框才能提交这个问题。

没遇到你说的这个问题

vip68 avatar Aug 24 '20 03:08 vip68

m2m_transfer对于直接添加新记录(就是点击那个加号)会有这个问题,这个是比较典型的,我这边反馈还有两种情况,但是具体记不太清楚了。

2020-08-24 11:23:39"vip68" [email protected]写道:

xadmin.widget.select-transfer.js 第172行修改为: box.options[i].selected = true; 然后在第73行前添加: if (box == this.to_box) { this.to_box[0].options[0].selected = true; } 修复的bug是必须点击一下右侧选中框才能提交这个问题。

没遇到你说的这个问题

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

RyanLoil avatar Aug 24 '20 12:08 RyanLoil