Overview
Comment: | [fx] hide button <add to lexicon> when nothing to add |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fx | multid |
Files: | files | file ages | folders |
SHA3-256: |
397861e537333f67bbe5c2d23be86103 |
User & Date: | olr on 2018-03-21 20:17:56 |
Original Comment: | [fx] hide button <add to lexicon> when no nothing to add |
Other Links: | branch diff | manifest | tags |
Context
2018-03-21
| ||
22:29 | [fx] lexicon editor: object for tabulations/pages check-in: 17064cfc52 user: olr tags: fx, multid | |
20:17 | [fx] hide button <add to lexicon> when nothing to add check-in: 397861e537 user: olr tags: fx, multid | |
19:37 | [tb] lexicon editor: search similar words / search by regex check-in: 7735782edd user: olr tags: tb, multid | |
Changes
Modified gc_lang/fr/webext/panel/lex_editor.css from [5f2ac9582a] to [8bf6017eeb].
︙ | ︙ | |||
189 190 191 192 193 194 195 | #buttonline { margin-top: 5px; text-align: right; } #add_to_lexicon { | | > | 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | #buttonline { margin-top: 5px; text-align: right; } #add_to_lexicon { display: none; width: 200px; padding: 5px 10px; font-size: 16px; background-color: hsl(150, 50%, 50%); color: hsl(150, 50%, 96%); border-radius: 3px; text-align: center; cursor: pointer; |
︙ | ︙ |
Modified gc_lang/fr/webext/panel/lex_editor.js from [ec0315fba1] to [eeccdb3d27].
︙ | ︙ | |||
409 410 411 412 413 414 415 416 417 418 419 420 421 422 | let sTags = document.getElementById("tags").value.trim(); if (sFlexion.length > 0 && sTags.startsWith(":")) { this.lFlexion.push([sFlexion, sTags]); } break; } } oGenWordsTable.fill(this.lFlexion); } catch (e) { showError(e); } }, | > > > > > | 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); } }, |
︙ | ︙ |