diff src/main/java/de/mpiwg/web/jsp/JSPProxy.java @ 21:5b1856cd6b4f

bug fixed: 1.TOC Done display issue 2.issue in firefox
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 23 Jun 2015 14:20:36 +0200
parents 996f8f1b69db
children 07f7594ba56e
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/web/jsp/JSPProxy.java	Fri Jun 19 16:23:16 2015 +0200
+++ b/src/main/java/de/mpiwg/web/jsp/JSPProxy.java	Tue Jun 23 14:20:36 2015 +0200
@@ -1,12 +1,8 @@
 package de.mpiwg.web.jsp;
 
-import java.util.Map;
-
 import org.apache.commons.lang.StringUtils;
 import org.apache.log4j.Logger;
 
-import de.mpiwg.gazetteer.utils.DBService;
-
 public class JSPProxy extends AbstractJSPPage {
 	
 	private static Logger logger = Logger.getLogger(JSPProxy.class);
@@ -156,12 +152,16 @@
 					getSessionBean().getBooksPage().setTocCorrection();
 				} else if (StringUtils.equals(action, "unSetTocCorrection")){
 					getSessionBean().getBooksPage().unSetTocCorrection();
+					
+				} else if(StringUtils.equals(action, "saveComment")){
+					getSessionBean().getBooksPage().saveComment();
 				
 				} else if (StringUtils.equals(action, "forceReloadBooks")) {
-					getSessionBean().getBooksPage().forceLoadBooks();
+					getSessionBean().getBooksPage().forceLoadBooks();		
 				} else if(StringUtils.equals(action, "filter")){
 					getSessionBean().getBooksPage().filter();
 					
+					
 					//PAGINATOR
 				} else if(StringUtils.equals(action, "firstPage")){
 					getSessionBean().getBooksPage().firstPage();