Commit e232cc5
authored
Fixes #3727.
In LV <= 1.0.5 we sent the `_target` as part of the url encoded form
values, but in 1.0.6 we switched to sending the meta values directly
in the form event to support `JS.push`'s value parameter for nested
values. Since the event itself is JSON encoded, this meant that any keys
with undefined value would be dropped by JS. To be backwards compatible,
we now ensure that the `_target` is always sent and restore the old
behavior of it being the string `"undefined"`, although that seems a bit
ugly. It is what it is now...
1 parent 4b5f68f commit e232cc5
2 files changed
+33
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1212 | 1212 | | |
1213 | 1213 | | |
1214 | 1214 | | |
1215 | | - | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1216 | 1223 | | |
1217 | 1224 | | |
1218 | 1225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
279 | 304 | | |
280 | 305 | | |
281 | 306 | | |
| |||
0 commit comments