Skip to content

Commit

Permalink
SAK-41202 Syllabus : remove action bar from Edit view to fix error an…
Browse files Browse the repository at this point in the history
…d keep consistency between screens (sakaiproject#6498)

Adding following this option shouldn't be the path to follow and was
throwing a NPE
  • Loading branch information
bgarciaentornos authored and ern committed Feb 21, 2019
1 parent 6ba11be commit 7eb3215
Showing 1 changed file with 1 addition and 32 deletions.
33 changes: 1 addition & 32 deletions syllabus/syllabus-app/src/webapp/syllabus/main_edit.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -201,38 +201,7 @@
}
</script>

<h:form id="syllabusMainEdit">
<f:verbatim><ul class="navIntraTool actionToolbar"></f:verbatim>
<h:panelGroup rendered="#{SyllabusTool.addItem == 'true'}">
<f:verbatim>
<li class="firstToolBarItem" role="menuitem">
<span>
</f:verbatim>
<h:commandLink action="#{SyllabusTool.processListNew}" styleClass="actionLink" onmousedown="assignWarningClick(this);"
rendered="#{SyllabusTool.addItem == 'true'}">
<h:outputText value="#{msgs.bar_new}"/>
</h:commandLink>
<f:verbatim>
</span>
</li>
</f:verbatim>
</h:panelGroup>
<h:panelGroup rendered="#{SyllabusTool.bulkAddItem == 'true'}">
<f:verbatim>
<li role="menuitem">
<span>
</f:verbatim>
<h:commandLink action="#{SyllabusTool.processListNewBulkMainEdit}" onmousedown="assignWarningClick(this);"
rendered="#{SyllabusTool.bulkAddItem == 'true'}">
<h:outputText value="#{msgs.bar_new_bulk}"/>
</h:commandLink>
<f:verbatim>
</span>
</li>
</f:verbatim>
</h:panelGroup>
<f:verbatim></ul></f:verbatim>

<h:form id="syllabusMainEdit">
<h:messages globalOnly="true" styleClass="alertMessage" rendered="#{!empty facesContext.maximumSeverity}" />
<syllabus:syllabus_if test="#{SyllabusTool.syllabusItem.redirectURL}">
<sakai:tool_bar_message value="#{msgs.mainEditNotice}" />
Expand Down

0 comments on commit 7eb3215

Please sign in to comment.