Differences From Artifact [ec0315fba1]:
- File gc_lang/fr/webext/panel/lex_editor.js — part of check-in [019062699a] at 2018-03-21 07:48:43 on branch multid — [fx] lexicon editor: deal with empty dictionary (user: olr, size: 21227) [annotate] [blame] [check-ins using]
To Artifact [eeccdb3d27]:
- File gc_lang/fr/webext/panel/lex_editor.js — part of check-in [397861e537] at 2018-03-21 20:17:56 on branch multid — [fx] hide button <add to lexicon> when nothing to add (user: olr, size: 21400) [annotate] [blame] [check-ins using]
︙ | |||
409 410 411 412 413 414 415 416 417 418 419 420 421 422 | 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 | + + + + + | let sTags = document.getElementById("tags").value.trim(); if (sFlexion.length > 0 && sTags.startsWith(":")) { this.lFlexion.push([sFlexion, sTags]); } break; } } if (this.lFlexion.length > 0) { showElement("add_to_lexicon"); } else { hideElement("add_to_lexicon"); } oGenWordsTable.fill(this.lFlexion); } catch (e) { showError(e); } }, |
︙ |