Commit f7dbfb7b authored by Elias Englmeier's avatar Elias Englmeier
Browse files

accepted ideas are no longer added to the drop down menu

parent 590e11df
...@@ -120,7 +120,8 @@ public class IdeasLocalServiceImpl extends IdeasLocalServiceBaseImpl { ...@@ -120,7 +120,8 @@ public class IdeasLocalServiceImpl extends IdeasLocalServiceBaseImpl {
if(status.equals(ReviewStatus.ACCEPTED)){ if(status.equals(ReviewStatus.ACCEPTED)){
//Makes the layout visible to everyone. //Makes the layout visible to everyone.
Layout layout = LayoutLocalServiceUtil.getLayout(i.getLayoutRef()); Layout layout = LayoutLocalServiceUtil.getLayout(i.getLayoutRef());
layout.setHidden(false); //Change this to true if the drop down is supposed to show the idea
//layout.setHidden(false);
layout.persist(); layout.persist();
} }
......
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