Grammalecte  Check-in [b6ad6a0ba7]

Overview
Comment:[fx][bug] don’t show URL for spellchecking errors
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: b6ad6a0ba7867ab65684d6f9fbb93dd8a4c704c666f0b705710a0f0fba6f5d80
User & Date: olr on 2017-10-23 09:06:27
Other Links: manifest | tags
Context
2017-10-23
09:41
[fx][bug] CSS: prevent content division to expand if words are too long check-in: ea2cbb3df1 user: olr tags: fx, trunk
09:06
[fx][bug] don’t show URL for spellchecking errors check-in: b6ad6a0ba7 user: olr tags: fx, trunk
2017-10-22
12:03
[fr] loc: lime à ongles check-in: f5c6324f89 user: olr tags: fr, trunk
Changes

Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [321b03c5bf] to [4dd7da6950].

344
345
346
347
348
349
350


351
352
353
354
355
356
357
                    this.xTooltipSuggBlock.textContent = "Aucune.";
                }
            }
            if (xNodeErr.dataset.error_type === "spelling") {
                // spelling mistake
                document.getElementById("grammalecte_tooltip_message").textContent = "Mot inconnu du dictionnaire.";
                document.getElementById("grammalecte_tooltip_ignore").dataset.error_id = xNodeErr.dataset.error_id;


                this.clearSuggestionBlock();
                this.xTooltipSuggBlock.textContent = "Recherche de graphies possibles…";
                xGrammalectePort.postMessage({
                    sCommand: "getSpellSuggestions",
                    dParam: {sWord: xNodeErr.textContent},
                    dInfo: {sErrorId: xNodeErr.dataset.error_id}
                });







>
>







344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
                    this.xTooltipSuggBlock.textContent = "Aucune.";
                }
            }
            if (xNodeErr.dataset.error_type === "spelling") {
                // spelling mistake
                document.getElementById("grammalecte_tooltip_message").textContent = "Mot inconnu du dictionnaire.";
                document.getElementById("grammalecte_tooltip_ignore").dataset.error_id = xNodeErr.dataset.error_id;
                document.getElementById("grammalecte_tooltip_url").dataset.url = "";
                document.getElementById("grammalecte_tooltip_url").style.display = "none";
                this.clearSuggestionBlock();
                this.xTooltipSuggBlock.textContent = "Recherche de graphies possibles…";
                xGrammalectePort.postMessage({
                    sCommand: "getSpellSuggestions",
                    dParam: {sWord: xNodeErr.textContent},
                    dInfo: {sErrorId: xNodeErr.dataset.error_id}
                });