Skip to content
Snippets Groups Projects
Commit 08c7c9f7 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

climate

parent 74d6f075
No related branches found
No related tags found
Loading
......@@ -41,12 +41,12 @@ window.osuny.translation = {
var data = JSON.parse(this.responseText),
translatedText = data.translatedText;
that.translateField(field, translatedText);
};
}
};
xhr.send(JSON.stringify({ text: text }));
},
translateField: function(field, text) {
translateField: function (field, text) {
'use strict';
if (field.classList.contains('summernote-vue')) {
$(field).summernote('code', text);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment