Fixes CKeditor & Turbolinks issue

Closes #330
This commit is contained in:
Juanjo Bazán
2015-09-04 13:16:25 +02:00
parent 53bf3ac14f
commit f9067fe201

View File

@@ -0,0 +1,7 @@
$(document).bind('page:change', function() {
if (typeof(CKEDITOR) != "undefined"){
for(name in CKEDITOR.instances){
try{CKEDITOR.replace(name);}catch(err){};
}
}
});