f5e5cfc5 by Jeff Balicki

commit

1 parent 6b64311b
...@@ -622,16 +622,8 @@ function returnOptions(form, preview) { ...@@ -622,16 +622,8 @@ function returnOptions(form, preview) {
622 622
623 623
624 624
625 625 $.getJSON("" + pdf_customizer + "/api/v1/get-pdf/" + id.value, function(dataReturnd) {
626 626
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 627
636 var content = []; 628 var content = [];
637 629
...@@ -705,7 +697,7 @@ $.ajax({ ...@@ -705,7 +697,7 @@ $.ajax({
705 697
706 698
707 }); 699 });
708 } 700
709 701
710 }); 702 });
711 }); 703 });
......