Skip to content

Commit

Permalink
hotfix for #22 until js refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
SvanteRichter committed Apr 24, 2016
1 parent 8a61851 commit 37cf552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/field_locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function setValue(field, value) {
el.val(value);
break;
case 'html':
CKEDITOR.instances[el.attr('name')].setData(value);
CKEDITOR.instances[el.attr('name').replace('[','-').replace(']','')].setData(value);
break;
case 'markdown':
parent.find('.CodeMirror').get(0).CodeMirror.setValue(value);
Expand Down

0 comments on commit 37cf552

Please sign in to comment.