Von Version < 2.37 >
bearbeitet von gru
am 07.05.2021, 14:30
Auf Version < 2.39 >
bearbeitet von gru
am 07.05.2021, 14:34
< >
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -31,7 +31,7 @@
31 31   </style>
32 32  
33 33   <script type="text/javascript">
34 - window.fcjq = $;
34 + fcjq = $;
35 35   console.log("BE",window.fcjq);
36 36   $.noConflict();
37 37   console.log("AF",window.fcjq);
... ... @@ -55,9 +55,9 @@
55 55  window.renderForm = function(formId){
56 56   var myBase = 'https://help6.formcycle.eu/xwiki/bin/edit/Examples/IncludeFormViaExternalContext/';
57 57   var fcBase = 'https://pro.formcloud.de/formcycle';
58 - var myFormContainer = window.fcjq('#content');
58 + var myFormContainer = fcjq('#content');
59 59  
60 - var form = window.fcjq.ajax({
60 + var form = fcjq.ajax({
61 61   type: "GET",
62 62   url: fcBase + '/form/provide/' + formId,
63 63   data:{
... ... @@ -78,8 +78,8 @@
78 78   async: false,
79 79   success:function(html){
80 80   console.log('Form:',html);
81 - myFormContainer.html(html);
82 - //myFormContainer.html(html.replace(/\$/g,'jQuery'));
81 + //myFormContainer.html(html);
82 + myFormContainer.html(html.replace(/\$/g,'fcjq'));
83 83   },
84 84   crossDomain: true
85 85   });
Copyright 2000-2025