52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
-
+
-
|
dParam: {sText: xTextArea.value},
dInfo: {sTextAreaId: xTextArea.id}
});
};
let xGCButton = createNode("div", {className: "grammalecte_wrapper_button", textContent: "Corriger"});
xGCButton.onclick = function () {
oGrammalecte.createGCPanel();
oGrammalecte.oGCPanel.clear();
oGrammalecte.oGCPanel.start(xTextArea);
oGrammalecte.oGCPanel.show();
oGrammalecte.oGCPanel.start(xTextArea);
oGrammalecte.oGCPanel.startWaitIcon();
xGrammalectePort.postMessage({
sCommand: "parseAndSpellcheck",
dParam: {sText: xTextArea.value, sCountry: "FR", bDebug: false, bContext: false},
dInfo: {sTextAreaId: xTextArea.id}
});
};
|