Revert "fix bugs in Global Config JSP"
This reverts commit dbd7886ba7ba11787a21471339f83aaccc11061d.
diff --git a/app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp b/app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp
index 5f91f8d..931ebda 100644
--- a/app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp
+++ b/app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp
@@ -59,10 +59,12 @@
<s:elseif test="#pd.type == 'boolean'">
<s:if test="properties[#pd.name].value == 'true'">
- <s:checkbox name="%{#pd.name}" label="%{getText(#pd.key)}" checked="true" onchange="formChanged()"/>
+ <s:checkbox name="%{#pd.name}" label="%{getText(#pd.key)}"
+ fieldValue="true" checked="true" onchange="formChanged()"/>
</s:if>
<s:if test="properties[#pd.name].value != 'true'">
- <s:checkbox name="%{#pd.name}" label="%{getText(#pd.key)}" onchange="formChanged()"/>
+ <s:checkbox name="%{#pd.name}" label="%{getText(#pd.key)}"
+ fieldValue="false" onchange="formChanged()"/>
</s:if>
</s:elseif>
diff --git a/pom.xml b/pom.xml
index 9373820..8a91432 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,8 +63,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
- <source>1.8</source>
- <target>1.8</target>
+ <source>11</source>
+ <target>11</target>
<fork>true</fork>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>