Overview
| Comment: | [fx] lexicon editor: focus on main input |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fx |
| Files: | files | file ages | folders |
| SHA3-256: |
5fd6e26506c901d9a7cb8dec7ae56cf5 |
| User & Date: | olr on 2018-02-06 10:25:05 |
| Other Links: | manifest | tags |
Context
|
2018-02-06
| ||
| 16:08 | [fx] update: lexicon editor check-in: 898b80959d user: olr tags: trunk, fx | |
| 10:25 | [fx] lexicon editor: focus on main input check-in: 5fd6e26506 user: olr tags: trunk, fx | |
| 10:23 | [graphspell][js] dawg: bug fixing + code clarification check-in: e7f46d5ce1 user: olr tags: trunk, graphspell | |
Changes
Modified gc_lang/fr/webext/panel/lex_editor.js from [6855918a57] to [20e67d8d6d].
| ︙ | ︙ | |||
59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
document.getElementById("lexicon_button").style.backgroundColor = "hsl(210, 80%, 90%)";
document.getElementById("add_word_button").style.backgroundColor = "hsl(210, 10%, 95%)";
} else {
this.hideElement("lexicon_page");
this.showElement("add_word_page");
document.getElementById("lexicon_button").style.backgroundColor = "hsl(210, 10%, 95%)";
document.getElementById("add_word_button").style.backgroundColor = "hsl(210, 80%, 90%)";
}
},
showElement: function (sElemId) {
if (document.getElementById(sElemId)) {
document.getElementById(sElemId).style.display = "block";
} else {
| > | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
document.getElementById("lexicon_button").style.backgroundColor = "hsl(210, 80%, 90%)";
document.getElementById("add_word_button").style.backgroundColor = "hsl(210, 10%, 95%)";
} else {
this.hideElement("lexicon_page");
this.showElement("add_word_page");
document.getElementById("lexicon_button").style.backgroundColor = "hsl(210, 10%, 95%)";
document.getElementById("add_word_button").style.backgroundColor = "hsl(210, 80%, 90%)";
document.getElementById("lemma").focus();
}
},
showElement: function (sElemId) {
if (document.getElementById(sElemId)) {
document.getElementById(sElemId).style.display = "block";
} else {
|
| ︙ | ︙ | |||
466 467 468 469 470 471 472 473 474 475 476 477 478 479 |
}
},
addToLexicon: function () {
try {
oLexicon.addFlexions(this.lFlexion);
document.getElementById("lemma").value = "";
oWidgets.showSection("section_vide");
oWidgets.hideElement("editor");
oWidgets.hideElement("actions");
oWidgets.clear();
oWidgets.showElement("save_button");
this.clear();
this.cMainTag = "";
| > | 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 |
}
},
addToLexicon: function () {
try {
oLexicon.addFlexions(this.lFlexion);
document.getElementById("lemma").value = "";
document.getElementById("lemma").focus();
oWidgets.showSection("section_vide");
oWidgets.hideElement("editor");
oWidgets.hideElement("actions");
oWidgets.clear();
oWidgets.showElement("save_button");
this.clear();
this.cMainTag = "";
|
| ︙ | ︙ |