Skip to content

Commit

Permalink
Merge pull request sakaiproject#450 from clhedrick/LSNBLDR-490
Browse files Browse the repository at this point in the history
LSNBLDR-490; fix remove page for inlined tool
  • Loading branch information
clhedrick committed Apr 24, 2015
2 parents 3711a01 + 474e3ec commit 7146835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lessonbuilder/tool/src/webapp/removePage.jsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ page import="org.sakaiproject.lessonbuildertool.tool.beans.SimplePageBean" %><%
%><%@ page import="java.net.URLEncoder" %><%
%><%@ page import="org.sakaiproject.tool.cover.ToolManager" %><%
%><%@ page import="org.sakaiproject.user.cover.UserDirectoryService" %><%
%><%@ page import="org.sakaiproject.user.api.User" %><%
Expand Down Expand Up @@ -118,7 +119,7 @@
EventTrackingService.post(EventTrackingService.newEvent("lessonbuilder.remove", "/lessonbuilder/page/" + simplePage.getPageId(), true));
out.println("<script>parent.location.replace(parent.location)</script>");
out.println("<script>parent.location.replace(\"/portal/site/" + URLEncoder.encode(site.getId(), "UTF-8") + "\")</script>");
%>

Expand Down

0 comments on commit 7146835

Please sign in to comment.