Showing
1 changed file
with
2 additions
and
3 deletions
@@ -115,15 +115,14 @@ var Bll = { | @@ -115,15 +115,14 @@ var Bll = { | ||
115 | value: "保存", | 115 | value: "保存", |
116 | callback: function () { | 116 | callback: function () { |
117 | if (edit.validate()) { | 117 | if (edit.validate()) { |
118 | - common.util.__ajax({ | 118 | + common.util.__ajax2({ |
119 | url: url, | 119 | url: url, |
120 | data: Bll.module | 120 | data: Bll.module |
121 | }, function (res) { | 121 | }, function (res) { |
122 | if (res.code == '200') { | 122 | if (res.code == '200') { |
123 | g.reload(); | 123 | g.reload(); |
124 | d.close(); | 124 | d.close(); |
125 | - } | ||
126 | - else { | 125 | + }else{ |
127 | common.util.__tip(res.message, "warning"); | 126 | common.util.__tip(res.message, "warning"); |
128 | } | 127 | } |
129 | }, true); | 128 | }, true); |
-
Please register or login to post a comment