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