Grammalecte  Check-in [afa96e5e95]

Overview
Comment:[fx] update warning text for editable nodes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fx
Files: files | file ages | folders
SHA3-256: afa96e5e95bfd15c2c8b0b71b7213ff43fca88856f9401425b1b6506ff7a9885
User & Date: olr on 2018-04-16 18:19:36
Other Links: manifest | tags
Context
2018-04-16
19:30
[fx] editable node: don’t use innerHTML -> createTextNode check-in: 0cdaf7b284 user: olr tags: trunk, fx
18:19
[fx] update warning text for editable nodes check-in: afa96e5e95 user: olr tags: trunk, fx
18:06
[fx] Write corrections in editable node also check-in: 6565051bbd user: olr tags: trunk, fx
Changes

Modified gc_lang/fr/webext/content_scripts/panel_gc.js from [4c86810835] to [8c82f9ecd9].

57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

    start (xNode=null) {
        this.oTooltip.hide();
        this.clear();
        if (xNode) {
            this.oNodeControl.setNode(xNode);
            if (xNode.tagName != "TEXTAREA") {
                this.addMessage("Note : cette zone de texte n’est pas un champ de formulaire “textarea” mais un node HTML éditable.");
            }
        }
    }

    clear () {
        while (this.xParagraphList.firstChild) {
            this.xParagraphList.removeChild(this.xParagraphList.firstChild);







|







57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

    start (xNode=null) {
        this.oTooltip.hide();
        this.clear();
        if (xNode) {
            this.oNodeControl.setNode(xNode);
            if (xNode.tagName != "TEXTAREA") {
                this.addMessage("Note : cette zone de texte n’est pas un champ de formulaire “textarea” mais un node HTML éditable. Une telle zone de texte est susceptible de contenir des éléments non textuels qui seront effacés lors de la correction.");
            }
        }
    }

    clear () {
        while (this.xParagraphList.firstChild) {
            this.xParagraphList.removeChild(this.xParagraphList.firstChild);