Grammalecte  Check-in [09c163c343]

Overview
Comment:[fx] fix wrong variable name
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 09c163c343c51ce874c0dd978a08d78fccc3bfb466c59a8d5e71a400bf5b0a1d
User & Date: olr on 2020-07-24 14:38:13
Other Links: manifest | tags
Context
2020-07-25
11:23
[fr] ajustements check-in: ac0da592ec user: olr tags: trunk, fr
2020-07-24
14:38
[fx] fix wrong variable name check-in: 09c163c343 user: olr tags: trunk, fx
14:31
[fr] ajustements check-in: fdb60a063b user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/webext/content_scripts/editor.js from [eab0c4d8cd] to [5a17b10c3e].

136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
            this.bResultInEvent = true;
        }
        if (typeof(what) == "string") {
            // SIMPLE TEXT
            if (!this.xResultNode) {
                oGrammalecte.oGCPanel.addMessageToGCPanel("⛔ Aucun champ textuel défini. Les changements ne seront pas répercutés sur la zone d’où le texte a été extrait.");
            }
            this.loadText(sText);
        }
        else if (what.nodeType && what.nodeType === 1) {
            // NODE
            this.xNode = what;
            this.bResultInEvent = Boolean(this.xNode.dataset.grammalecte_result_via_event && this.xNode.dataset.grammalecte_result_via_event == "true");
            this.bTextArea = (this.xNode.tagName == "TEXTAREA" || this.xNode.tagName == "INPUT");
            this.bIframe = (this.xNode.tagName == "IFRAME");







|







136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
            this.bResultInEvent = true;
        }
        if (typeof(what) == "string") {
            // SIMPLE TEXT
            if (!this.xResultNode) {
                oGrammalecte.oGCPanel.addMessageToGCPanel("⛔ Aucun champ textuel défini. Les changements ne seront pas répercutés sur la zone d’où le texte a été extrait.");
            }
            this.loadText(what);
        }
        else if (what.nodeType && what.nodeType === 1) {
            // NODE
            this.xNode = what;
            this.bResultInEvent = Boolean(this.xNode.dataset.grammalecte_result_via_event && this.xNode.dataset.grammalecte_result_via_event == "true");
            this.bTextArea = (this.xNode.tagName == "TEXTAREA" || this.xNode.tagName == "INPUT");
            this.bIframe = (this.xNode.tagName == "IFRAME");