Grammalecte  Check-in [987f485574]

Overview
Comment:[fx] no button for input nodes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: 987f485574bbb5304ccd54e813e28886d0ae67045cca73be23267ced4c240219
User & Date: olr on 2020-04-01 10:41:28
Other Links: manifest | tags
Context
2020-04-01
13:06
[fr] ajustements check-in: 33d4abc49b user: olr tags: trunk, fr
10:41
[fx] no button for input nodes check-in: 987f485574 user: olr tags: trunk, fx
10:17
[fr] faux positif check-in: 85a1651022 user: olr tags: trunk, fr
Changes

Modified gc_lang/fr/webext/content_scripts/menu.js from [85adf4425a] to [f9497c4f3d].

34
35
36
37
38
39
40
41

42
43
44
45
46
47
48
34
35
36
37
38
39
40

41
42
43
44
45
46
47
48







-
+







            this._bTextArea = oOptions.ui_options.textarea;
            this._bEditableNode = oOptions.ui_options.editablenode;
        }
    }

    examineNode (xNode) {
        if (xNode && xNode instanceof HTMLElement
                && ( ((xNode.tagName == "TEXTAREA" || xNode.tagName == "INPUT") && this._bTextArea && xNode.getAttribute("spellcheck") !== "false")
                && ( (xNode.tagName == "TEXTAREA" && this._bTextArea && xNode.getAttribute("spellcheck") !== "false")
                    || (xNode.isContentEditable && this._bEditableNode)
                    || (xNode.tagName == "IFRAME" && this._bIframe) )
                && xNode.style.display !== "none" && xNode.style.visibility !== "hidden"
                && !(xNode.dataset.grammalecte_button  &&  xNode.dataset.grammalecte_button == "false")) {
            this.xTextNode = xNode;
            this.show()
        }