- Fixed multiplication of entries in the content item list when creating content items

git-svn-id: https://svn.libreccm.org/ccm/trunk@2786 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-08-03 18:00:25 +00:00
parent 56bb254278
commit ef8b3793ba
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ public abstract class NewItemForm extends Form {
@Override @Override
public void prepare(PrintEvent e) { public void prepare(PrintEvent e) {
OptionGroup o = (OptionGroup) e.getTarget(); OptionGroup o = (OptionGroup) e.getTarget();
o.clearOptions();
PageState state = e.getPageState(); PageState state = e.getPageState();
// gather the content types of this section into a list // gather the content types of this section into a list