Overview
| Comment: | [fx] selection analysis: don’t send directly text from background to the GC |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fx |
| Files: | files | file ages | folders |
| SHA3-256: |
76e08d6ee8e5548e9e0073a5852f114d |
| User & Date: | olr on 2020-03-21 15:58:00 |
| Other Links: | manifest | tags |
Context
|
2020-03-21
| ||
| 23:40 | [fr] ajustements check-in: aca27e93d8 user: olr tags: trunk, fr | |
| 15:58 | [fx] selection analysis: don’t send directly text from background to the GC check-in: 76e08d6ee8 user: olr tags: trunk, fx | |
| 15:13 | [fx] Web API: warn the webpage when the API script is loaded check-in: 2bedf50a10 user: olr tags: trunk, fx | |
Changes
Modified gc_lang/fr/webext/background.js from [cc1bfe6b79] to [1a3131ce70].
| ︙ | |||
358 359 360 361 362 363 364 | 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | - - - - - |
sendCommandToTab(xTab.id, xInfo.menuItemId);
break;
case "grammar_checker_iframe":
sendCommandToTab(xTab.id, xInfo.menuItemId, xInfo.frameId);
break;
case "grammar_checker_selection":
sendCommandToTab(xTab.id, xInfo.menuItemId, xInfo.selectionText);
|
| ︙ |
Modified gc_lang/fr/webext/content_scripts/init.js from [ae034ec96f] to [d0cd9c03ec].
| ︙ | |||
177 178 179 180 181 182 183 | 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | - + - + |
createMessageBox: function () {
if (this.oMessageBox === null) {
this.oMessageBox = new GrammalecteMessageBox("grammalecte_message_box", "Grammalecte");
this.oMessageBox.insertIntoPage();
}
},
|
| ︙ | |||
462 463 464 465 466 467 468 | 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 | - + - |
oGrammalecte.showMessage("Erreur. Le node sur lequel vous avez cliqué n’a pas pu être identifié. Sélectionnez le texte à corriger et relancez le correcteur via le menu contextuel.");
}
break;
case "grammar_checker_page":
oGrammalecte.startGCPanel(oGrammalecte.getPageText());
break;
case "grammar_checker_selection":
|
| ︙ |