Grammalecte  Check-in [3ac8707213]

Overview
Comment:[fx] WebExt: mode debug for simple test
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 3ac8707213e8860bb1e629cf5558f2810ca0c9ee79f25dc78cd58583fd621a3e
User & Date: olr on 2017-09-12 08:41:01
Other Links: manifest | tags
Context
2017-09-12
10:31
[fx] WebExt: message when no error detected. check-in: c51bc21a0d user: olr tags: trunk, fx
08:54
merge trunk check-in: c51ddd5524 user: olr tags: fr_killtricks
08:41
[fx] WebExt: mode debug for simple test check-in: 3ac8707213 user: olr tags: trunk, fx
01:20
[fr] phonet_simil: 3 entrées check-in: b542d84d98 user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/webext/panel/main.js from [cfdce4f016] to [405aefbae4].

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
    "click",
    function (xEvent) {
        let xElem = xEvent.target;
        if (xElem.id) {
            if (xElem.id === "text_to_test_button") {
                browser.runtime.sendMessage({
                    sCommand: "textToTest",
                    dParam: {sText: document.getElementById("text_to_test").value, sCountry: "FR", bDebug: false, bContext: false},
                    dInfo: {}
                });
            }
            else if (xElem.id === "fulltests_button") {
                document.getElementById("tests_result").textContent = "Veuillez patienter…";
                browser.runtime.sendMessage({
                    sCommand: "fullTests",







|







15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
    "click",
    function (xEvent) {
        let xElem = xEvent.target;
        if (xElem.id) {
            if (xElem.id === "text_to_test_button") {
                browser.runtime.sendMessage({
                    sCommand: "textToTest",
                    dParam: {sText: document.getElementById("text_to_test").value, sCountry: "FR", bDebug: true, bContext: false},
                    dInfo: {}
                });
            }
            else if (xElem.id === "fulltests_button") {
                document.getElementById("tests_result").textContent = "Veuillez patienter…";
                browser.runtime.sendMessage({
                    sCommand: "fullTests",