fixed hiding of project partner stuff when choosing master
This commit is contained in:
parent
c371cf2b14
commit
bcb3a690b5
@ -176,10 +176,13 @@ public class ProjectIdeaSubmissionPanel extends Panel {
|
|||||||
//there may be other higher levels later, thats why i check for bachelor, cus we know bachelor will always require partners.
|
//there may be other higher levels later, thats why i check for bachelor, cus we know bachelor will always require partners.
|
||||||
if (!projectClassModel.getObject().getName().equalsIgnoreCase("bachelor")){
|
if (!projectClassModel.getObject().getName().equalsIgnoreCase("bachelor")){
|
||||||
partnerAdditionPanel.setPartnerRequired(false);
|
partnerAdditionPanel.setPartnerRequired(false);
|
||||||
|
partnerAdditionPanel.setVisible(false);
|
||||||
|
partnerInfoLink.setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
target.addComponent(partnerContainer);
|
target.addComponent(partnerContainer);
|
||||||
target.addComponent(partnerAdditionPanel);
|
target.addComponent(partnerAdditionPanel);
|
||||||
|
target.addComponent(partnerInfoLink);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user