f5e5cfc5 by Jeff Balicki

commit

1 parent 6b64311b
...@@ -622,17 +622,9 @@ function returnOptions(form, preview) { ...@@ -622,17 +622,9 @@ function returnOptions(form, preview) {
622 622
623 623
624 624
625 $.getJSON("" + pdf_customizer + "/api/v1/get-pdf/" + id.value, function(dataReturnd) {
625 626
626 627
627 $.ajax({
628 url: "" +pdf_customizer + "/api/v1/get-pdf/" + id.value,
629 type: "POST",
630 dataType: 'json',
631 contentType: "application/json",
632 CrossDomain: true,
633
634 success: function(dataReturnd) {
635
636 var content = []; 628 var content = [];
637 629
638 for (e = 0; e < form[0].length; ++e) { 630 for (e = 0; e < form[0].length; ++e) {
...@@ -705,7 +697,7 @@ $.ajax({ ...@@ -705,7 +697,7 @@ $.ajax({
705 697
706 698
707 }); 699 });
708 } 700
709 701
710 }); 702 });
711 }); 703 });
......