Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 85ff0d1

Browse files
committed
Resolved the bug from pull request #128
1 parent d0d09b0 commit 85ff0d1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

conf/web/WEB-INF/struts.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,8 @@
827827

828828
<action name="getProjectStatsAjax" method="getProjectStatsAjax" class="projectOverviewAction">
829829
<interceptor-ref name="securedProjectStack"/>
830-
<result name="success">/WEB-INF/project-overview-project-stats.jsp</result>
830+
<result name="success" type="json" />
831+
<result name="error" type="json"/>
831832
</action>
832833

833834
<action name="getProjectIssuesStatsAjax" method="getProjectIssuesStatsAjax" class="projectOverviewAction">
@@ -838,7 +839,8 @@
838839

839840
<action name="getProjectActivitiesAjax" method="getProjectActivitiesAjax" class="projectOverviewAction">
840841
<interceptor-ref name="securedProjectStack"/>
841-
<result name="success">/WEB-INF/project-overview-project-activities.jsp</result>
842+
<result name="success" type="json"/>
843+
<result name="error" type="json"/>
842844
</action>
843845

844846
<action name="projectInfoExport" class="projectExportAction">
@@ -865,7 +867,8 @@
865867

866868
<action name="projectContestsHealthAJAX" class="projectContestsHealthAction">
867869
<interceptor-ref name="securedDefaultStack"/>
868-
<result name="success">/WEB-INF/project-overview-contests-health.jsp</result>
870+
<result name="success" type="json"/>
871+
<result name="error" type="json"/>
869872
</action>
870873

871874
<action name="projectMilestoneView" class="projectMilestoneViewAction">

0 commit comments

Comments
 (0)