Prechádzať zdrojové kódy

fix labeltype and keymatch

Kazushi Morishima 7 rokov pred
rodič
commit
da6442f189

+ 3 - 0
src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch.jsp

@@ -108,6 +108,9 @@
 											</ul>
 										</div>
 									</div>
+									<c:if test="${keyMatchPager.currentPageNumber > keyMatchPager.allPageCount}">
+										<script>location.href = "${contextPath}/admin/keymatch/list/${keyMatchPager.allPageCount}";</script>
+									</c:if>
 								</c:if>
 							</div>
 							<!-- /.box-body -->

+ 3 - 0
src/main/webapp/WEB-INF/view/admin/labeltype/admin_labeltype.jsp

@@ -106,6 +106,9 @@
 											</ul>
 										</div>
 									</div>
+									<c:if test="${labelTypePager.currentPageNumber > labelTypePager.allPageCount}">
+										<script>location.href = "${contextPath}/admin/labeltype/list/${labelTypePager.allPageCount}";</script>
+									</c:if>
 								</c:if>
 							</div>
 							<!-- /.box-body -->