shuzheng пре 9 година
родитељ
комит
b33a8a0d8b

+ 3 - 3
zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/manage/system/update.jsp

@@ -6,8 +6,8 @@
 <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
 <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
 <%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
 <%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
 <c:set var="basePath" value="${pageContext.request.contextPath}"/>
 <c:set var="basePath" value="${pageContext.request.contextPath}"/>
-<div id="createDialog" class="crudDialog">
-	<form id="createForm" method="post">
+<div id="updateDialog" class="crudDialog">
+	<form id="updateForm" method="post">
 		<div class="form-group">
 		<div class="form-group">
 			<label for="icon">图标</label>
 			<label for="icon">图标</label>
 			<input id="icon" type="text" class="form-control" name="icon" maxlength="20" value="${system.icon}">
 			<input id="icon" type="text" class="form-control" name="icon" maxlength="20" value="${system.icon}">
@@ -47,7 +47,7 @@ function createSubmit() {
     $.ajax({
     $.ajax({
         type: 'post',
         type: 'post',
         url: '${basePath}/manage/system/update/${system.systemId}',
         url: '${basePath}/manage/system/update/${system.systemId}',
-        data: $('#createForm').serialize(),
+        data: $('#updateForm').serialize(),
         beforeSend: function() {
         beforeSend: function() {
             if ($('#title').val() == '') {
             if ($('#title').val() == '') {
                 $('#title').focus();
                 $('#title').focus();