fix preview for IE
This commit is contained in:
parent
13f63d4c2a
commit
93337c1019
|
@ -7,7 +7,12 @@ $(function() {
|
||||||
for ( instance in CKEDITOR.instances )
|
for ( instance in CKEDITOR.instances )
|
||||||
CKEDITOR.instances[instance].updateElement();
|
CKEDITOR.instances[instance].updateElement();
|
||||||
|
|
||||||
var formData = new FormData( $('form.previewable')[0] );
|
var formData;
|
||||||
|
if(typeof(FormData) == "function"){
|
||||||
|
formData = new FormData( $('form.previewable')[0] );
|
||||||
|
}else{
|
||||||
|
formData = $('form.previewable').serialize()
|
||||||
|
}
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "post",
|
type: "post",
|
||||||
|
|
Loading…
Reference in New Issue