Commit b2abc786 authored by Sli's avatar Sli

Merge branch 'new_django' into 'master'

Fix subscription bug for old subscribers on subscription page

See merge request !153
parents 73228820 f1e8d55b
Pipeline #1508 passed with stage
in 5 minutes and 19 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