From b45e492d5b3515fd35146e0604abd4721ec33d94 Mon Sep 17 00:00:00 2001 From: Charles Hedrick Date: Tue, 5 Jul 2016 16:05:26 -0400 Subject: [PATCH] LSNBLDR-673; don't show "choose all" in page chooser (#2993) --- .../lessonbuildertool/tool/producers/PagePickerProducer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/producers/PagePickerProducer.java b/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/producers/PagePickerProducer.java index 2fd7a66ed2e6..cf69fde528ac 100644 --- a/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/producers/PagePickerProducer.java +++ b/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/producers/PagePickerProducer.java @@ -416,7 +416,8 @@ public void fillComponents(UIContainer tofill, ViewParameters viewparams, Compon if (entry.level < 0) { UIOutput.make(row, "heading", messageLocator.getMessage("simplepage.chooser.unused")); - UIOutput.make(row, "chooseall"); + if (summaryPage) + UIOutput.make(row, "chooseall"); } // if no itemid, it's unused. Only canedit people will see it else if (summaryPage && entry.itemId != null) {