... |
... |
@@ -1,6
+1,7 @@ |
1 |
1 |
{{html clean="false"}} |
2 |
2 |
<script> |
3 |
3 |
console.log("init", typeof $);//, $.fn.jquery); |
|
4 |
+ delete define.amd; |
4 |
4 |
</script> |
5 |
5 |
|
6 |
6 |
<script type="text/javascript" src="https://pro.formcloud.de/formcycle/form/includes/010-jquery-min.js?_nc=1620383292614" ></script> |
... |
... |
@@ -68,7
+68,7 @@ |
68 |
68 |
//Render-Parameter |
69 |
69 |
"xfc-rp-inline":true, //Verwendete resourcen auflösen |
70 |
70 |
"xfc-rp-form-only":false, //Formular ohne HTML, BODY etc. |
71 |
|
- "xfc-rp-usejq":false, //jQuery einbinden |
|
72 |
+ "xfc-rp-usejq":true, //jQuery einbinden |
72 |
72 |
"xfc-rp-keepalive":false, //Ping zur Sessionverlängerung |
73 |
73 |
"xfc-rp-usecss":true, //Use Formcycle CSS files |
74 |
74 |
"xfc-rp-useui":true, //jQueryUI einbinden |
... |
... |
@@ -83,13
+83,13 @@ |
83 |
83 |
success:function(html){ |
84 |
84 |
console.log('Form loaded:',html.length);//,html); |
85 |
85 |
//myFormContainer.html(html); |
86 |
|
- if (!jQuery('#contentiframe').length) { |
87 |
|
- myFormContainer.html('<iframe id="contentiframe"></iframe>'); |
88 |
|
- } |
89 |
|
- var iframe = document.getElementById('contentiframe'), |
90 |
|
- iframedoc = iframe.contentDocument || iframe.contentWindow.document; |
91 |
|
- iframedoc.body.innerHTML = html.replace(/\$/g,'jQuery'); |
92 |
|
- //myFormContainer.html(html.replace(/\$/g,'jQuery')); |
|
87 |
+ //if (!jQuery('#contentiframe').length) { |
|
88 |
+ // myFormContainer.html('<iframe id="contentiframe"></iframe>'); |
|
89 |
+ //} |
|
90 |
+ //var iframe = document.getElementById('contentiframe'), |
|
91 |
+ //iframedoc = iframe.contentDocument || iframe.contentWindow.document; |
|
92 |
+ //iframedoc.body.innerHTML = html.replace(/\$/g,'jQuery'); |
|
93 |
+ myFormContainer.html(html.replace(/\$/g,'jQuery')); |
93 |
93 |
}, |
94 |
94 |
crossDomain: true |
95 |
95 |
}); |