Overview
Comment: | [tb] fix variables |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tb | tbme |
Files: | files | file ages | folders |
SHA3-256: |
80dc97c22d6ea9a9f5e04a05f5ec221c |
User & Date: | olr on 2019-09-06 10:31:01 |
Other Links: | branch diff | manifest | tags |
Context
2019-09-06
| ||
11:49 | [tb] ui: text formatter adjustments (bugs workaround) check-in: 6ccbd8eea2 user: olr tags: tb, tbme | |
10:31 | [tb] fix variables check-in: 80dc97c22d user: olr tags: tb, tbme | |
09:50 | merge trunk check-in: 21c81683f4 user: olr tags: tbme | |
Changes
Modified gc_lang/fr/mailext/content/lex_editor.js from [289de26df4] to [1f70f3f40f].
︙ | ︙ | |||
444 445 446 447 448 449 450 | } else { this.setDictData(0, "[néant]"); disableElement("export_button"); } }, import: function () { | < < | 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 | } else { this.setDictData(0, "[néant]"); disableElement("export_button"); } }, import: function () { oFileHandler.loadAs(this._import.bind(this)); }, _import: function (sJSON) { this._load(sJSON, true); }, setDictData: function (nEntries, sDate) { document.getElementById("dic_num_entries").value = nEntries; document.getElementById("dic_save_date").value = sDate; }, |
︙ | ︙ |
Modified gc_lang/fr/mailext/content/overlay.js from [40318f50b2] to [ab8ea58f8a].
︙ | ︙ | |||
135 136 137 138 139 140 141 | } if (bIsError === false) { let xNodeP = document.createElement("p"); xNodeP.setAttribute("class", "message"); xNodeP.textContent = "Aucune erreur détectée…"; document.getElementById("grammalecte-errors").appendChild(xNodeP); } | | | < | 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | } if (bIsError === false) { let xNodeP = document.createElement("p"); xNodeP.setAttribute("class", "message"); xNodeP.textContent = "Aucune erreur détectée…"; document.getElementById("grammalecte-errors").appendChild(xNodeP); } this.setInfo("Nombre de paragraphes analysés : " + nParagraph); } catch (e) { this.setInfo("Erreur : " + e.message); console.error(e); } }, createResultNode: function (xEditor, sParagraph, iParagraph, aGrammErr, aSpellErr) { let xResultNode = document.createElement("div"); xResultNode.setAttribute("id", "resnode" + iParagraph); this.fillResultNode(xResultNode, xEditor, sParagraph, iParagraph, aGrammErr, aSpellErr); return xResultNode; }, reparseParagraph: function (xEditor, iParagraph) { try { let that = this; let xResultNode = document.getElementById("resnode"+iParagraph); xResultNode.textContent = "…………… réanalyse en cours ……………"; let sParagraph = xEditor.getParagraph(iParagraph); let xPromise = this.xGCEWorker.post('parseAndSpellcheck', [sParagraph, "FR", false, false]); xPromise.then(function (res) { xResultNode.textContent = ""; let oRes = JSON.parse(res); if (oRes.aGrammErr.length > 0 || oRes.aSpellErr.length > 0) { that.fillResultNode(xResultNode, xEditor, sParagraph, iParagraph, oRes.aGrammErr, oRes.aSpellErr); } }, function (res) { xResultNode.textContent = "Erreur: " + res; |
︙ | ︙ |