-
Notifications
You must be signed in to change notification settings - Fork 124
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
When Deleting a Member, Member Select to Reassign Entries does not populate #3384
Comments
I can confirm this happening - @Yulyaswan I hope there is an easy fix ;) You can use heavy_load/many_members Cypress test to quickly create a lot of members, and then turn on "include in authors list" for Members role. Assign an entry to one of members, and then try to delete that member |
Hello, I wanted to flag that I am still experiencing this issue on EE 7.4.10. Description of ProblemSame as initially reported. How to reproduceSame as initially reported. Error messagesSame as initially reported. Environment Details
Possible FixI temporarily fixed this issue by pasting the same lines of code from commit 28c8566 under the more specific jQuery selector for this modal ( --- a/html/themes/ee/asset/javascript/compressed/cp/confirm_remove.js
+++ b/html/themes/ee/asset/javascript/compressed/cp/confirm_remove.js
@@ -153,6 +153,10 @@ $(document).ready(function () {
$.post(ajax_url, $(modalIs + " form").serialize(), function(data) {
$(modalIs + " .ajax").html(data);
Dropdown.renderFields();
+
+ if ($('div[data-select-react]').length) {
+ SelectField.renderFields();
+ }
});
}
|
…r-delete-member-modal Resolved #3384 where Reassign Entries dialog did not populate when deleting a member
Description of the problem
EE7 site that we're trying to delete a member. When trying to delete the member, it pulls up the modal to reassign entries. However, it does not populate the list of Members.
How To Reproduce
Steps to reproduce the behavior:
Error Messages
No error messages. No error in the ajax call, nothing in the console.
Screenshots / Videos / Template Code
I did see the
data-react-select
serialized data on the element in the code. That output a properly form object when using unserialize:Environment Details:
The text was updated successfully, but these errors were encountered: