Skip to content
Snippets Groups Projects
Commit 05c53148 authored by llaffont's avatar llaffont
Browse files

Correction bouton valider qui ne fonctionne pas lorsque l'éditeur d'articles...

Correction bouton valider qui ne fonctionne pas lorsque l'éditeur d'articles est ouvert deux fois de suite en ajax
parent ddd53094
Branches
Tags
No related merge requests found
......@@ -48,8 +48,10 @@
for ( instance in CKEDITOR.instances )
CKEDITOR.instances[instance].updateElement();
for ( instance in CKEDITOR.instances )
CKEDITOR.instances[instance].destroy();
for ( instance in CKEDITOR.instances ) {
var i = CKEDITOR.instances[instance];
i.destroy();
}
}
......@@ -71,6 +73,7 @@
var onClose = function() {
removeLoadingClass();
updateAndDestroyCKEditor();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment