Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RyanLoil opened this issue Mar 24, 2020 · 2 comments
Open

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

RyanLoil opened this issue Mar 24, 2020 · 2 comments

Comments

@RyanLoil
Copy link

RyanLoil commented Mar 24, 2020

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
Copy link
Owner

vip68 commented Aug 24, 2020

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
Copy link
Author

RyanLoil commented Aug 24, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants