ce6d603d by yangjianbin

init

1 parent f8417391
...@@ -78,6 +78,10 @@ ...@@ -78,6 +78,10 @@
78 78
79 <script> 79 <script>
80 function save() { 80 function save() {
81 layer_close();
82 window.parent.location.reload();
83
84 return;
81 var targetUrl = $("#add").attr("action"); 85 var targetUrl = $("#add").attr("action");
82 var data = $("#add").serializeJson(); 86 var data = $("#add").serializeJson();
83 $.ajax({ 87 $.ajax({
...@@ -97,7 +101,7 @@ ...@@ -97,7 +101,7 @@
97 } 101 }
98 if(!data.code) { 102 if(!data.code) {
99 layer_close(); 103 layer_close();
100 window.location.reload(); 104 window.parent.location.reload();
101 } 105 }
102 }, 106 },
103 error: function () { 107 error: function () {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!