Grammalecte  Check-in [df4049b2b3]

Overview
Comment:[fx][tb] lexical editor: small bug fix
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | tb | fx
Files: files | file ages | folders
SHA3-256: df4049b2b36250b72645b390c0db883744c8ffda2e39d9734276986aaf0e9b40
User & Date: olr on 2024-06-11 08:50:59
Other Links: manifest | tags
Context
2024-06-11
08:52
[build] purge.py: fix Python version requirements check-in: 9863820602 user: olr tags: build, trunk
08:50
[fx][tb] lexical editor: small bug fix check-in: df4049b2b3 user: olr tags: fx, tb, trunk
08:46
[fr] phonet_simil: màj check-in: b7c5027760 user: olr tags: fr, trunk
Changes

Modified gc_lang/fr/webext/panel/lex_editor.js from [a73ece9f08] to [a861cbd675].

733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
        } else {
            this.setDictData(0, "[néant]");
            oDictHandler.saveDictionary(this.sName, null);
        }
    },

    setDictData: function (nEntries, sDate) {
        document.getElementById("dic_num_entries").textContent = nEntries.toString() + ((this.nEntry > 1) ? " entrées" : " entrée");
        document.getElementById("dic_save_date").textContent = sDate;
        if (nEntries == 0) {
            hideElement("export_button");
        } else {
            showElement("export_button");
        }
    },







|







733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
        } else {
            this.setDictData(0, "[néant]");
            oDictHandler.saveDictionary(this.sName, null);
        }
    },

    setDictData: function (nEntries, sDate) {
        document.getElementById("dic_num_entries").textContent = nEntries.toString() + ((nEntries > 1) ? " entrées" : " entrée");
        document.getElementById("dic_save_date").textContent = sDate;
        if (nEntries == 0) {
            hideElement("export_button");
        } else {
            showElement("export_button");
        }
    },