Showing
1 changed file
with
8 additions
and
6 deletions
@@ -169,7 +169,14 @@ | @@ -169,7 +169,14 @@ | ||
169 | }, { | 169 | }, { |
170 | text: "提交", | 170 | text: "提交", |
171 | className: "btn-success", | 171 | className: "btn-success", |
172 | - onclick: function () { | 172 | + onclick: toSubmit |
173 | + }] | ||
174 | + }).find(".modal-body").css({ | ||
175 | + height: "650px" | ||
176 | + }); | ||
177 | + } | ||
178 | + | ||
179 | + function toSubmit() { | ||
173 | var toSendAjaxFlag = false; | 180 | var toSendAjaxFlag = false; |
174 | var openLimitFlow = $("#open_limit_flow_a").find("input").val(); | 181 | var openLimitFlow = $("#open_limit_flow_a").find("input").val(); |
175 | var limitConfig = []; | 182 | var limitConfig = []; |
@@ -201,11 +208,6 @@ | @@ -201,11 +208,6 @@ | ||
201 | sendAjax("post", "viewToChangeLimitConf", param, "text", viewToChangeSuccess, errorFunc); | 208 | sendAjax("post", "viewToChangeLimitConf", param, "text", viewToChangeSuccess, errorFunc); |
202 | } | 209 | } |
203 | } | 210 | } |
204 | - }] | ||
205 | - }).find(".modal-body").css({ | ||
206 | - height: "650px" | ||
207 | - }); | ||
208 | - } | ||
209 | 211 | ||
210 | function viewToChangeSuccess(resp) { | 212 | function viewToChangeSuccess(resp) { |
211 | $(dialog1).dialog("hide"); | 213 | $(dialog1).dialog("hide"); |
-
Please register or login to post a comment