Revert "commit"
This reverts commit d2020cec.
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -192,7 +192,7 @@ function changePdfOptions(json, edit) { | ... | @@ -192,7 +192,7 @@ function changePdfOptions(json, edit) { |
| 192 | } | 192 | } |
| 193 | 193 | ||
| 194 | 194 | ||
| 195 | // console.log( json ); | 195 | console.log( json ); |
| 196 | 196 | ||
| 197 | json = JSON.parse(json); | 197 | json = JSON.parse(json); |
| 198 | 198 | ||
| ... | @@ -267,7 +267,7 @@ function changePdfOptions(json, edit) { | ... | @@ -267,7 +267,7 @@ function changePdfOptions(json, edit) { |
| 267 | var example = json[0].folder + '/' + json[i].example; | 267 | var example = json[0].folder + '/' + json[i].example; |
| 268 | 268 | ||
| 269 | if (json[i].change_type == "textflow") { | 269 | if (json[i].change_type == "textflow") { |
| 270 | pdfChange += json[i].names + ': <textarea onfocus="ShowBox(' + json[0].pheight + ',' + json[0].pwidth + ',' + json[i].locationUp + ',' + json[i].locationRight + ',' + json[i].height + ',' + json[i].width + ',' + i + ',\'' + example + '\')" id="changescontent[' + f + ']" class="textarea required" value="' + json[i].content + '" name="content[' + i + ']">' + json[i].content + '</textarea>'; | 270 | pdfChange += json[i].names + ': <textarea onfocus="ShowBox(' + json[0].pheight + ',' + json[0].pwidth + ',' + json[i].locationUp + ',' + json[i].locationRight + ',' + json[i].height + ',' + json[i].width + ',' + i + ',\'' + example + '\')" id="changescontent' + [f] + '" class="textarea required" value="' + json[i].content + '" name="content[' + i + ']">' + json[i].content + '</textarea>'; |
| 271 | ++f; | 271 | ++f; |
| 272 | pdfChange += '<span id="span' + i + '">' + json[i].tips + '</span><br/>'; | 272 | pdfChange += '<span id="span' + i + '">' + json[i].tips + '</span><br/>'; |
| 273 | } | 273 | } | ... | ... |
-
Please register or sign in to post a comment