Commit f1e8d55b authored by Sli's avatar Sli

Fix subscription bug for old subscribers on subscription page

parent 5c4a16d1
Pipeline #1507 passed with stage
in 6 minutes and 3 seconds
......@@ -35,10 +35,21 @@ $( function() {
function display_new_member() {
if (select.val()) {
member_block.hide();
member_block.children().each(function() {
$(this).children().each(function() {
$(this).removeAttr('required');
});
});
user_info.load("/user/"+select.val()+"/mini");
user_info.show();
} else {
member_block.show();
member_block.children().each(function() {
$(this).children().each(function() {
$(this).prop('required', true);
});
});
user_info.empty();
user_info.hide();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment