Commit 50ebd417fddf4fabae0c8304b3e09e82c7b2821e
1 parent
b36c6890
update..
Showing
1 changed file
with
5 additions
and
3 deletions
src/main/resources/static/real_control_v2/js/forms/wrap.html
| ... | ... | @@ -193,9 +193,11 @@ |
| 193 | 193 | |
| 194 | 194 | cb && cb($(selector)); |
| 195 | 195 | |
| 196 | - setTimeout(function(){ | |
| 197 | - $('#line', '.form-page-content').trigger('change'); | |
| 198 | - }, 500); | |
| 196 | + if(selector === '#line') { | |
| 197 | + setTimeout(function () { | |
| 198 | + $('#line', '.form-page-content').trigger('change'); | |
| 199 | + }, 500); | |
| 200 | + } | |
| 199 | 201 | }); |
| 200 | 202 | |
| 201 | 203 | return $(selector); | ... | ... |