mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-27 17:20:01 +00:00
03feb0d2a7
This fixes a whole sequence of issues: * It was actually possible to add a parameter with no name. * It was also possible to add parameters where the name is nothing but whitespace. * Pressing enter was not possible. * The button was initially enabled with the input field being empty. * Validation code was duplicated, but incomplete, which made it possible to add duplicate parameters with enter. Bug: T324381 Change-Id: I598997efc63256fd59a2b4f71fb7c3d99306bd85 |
||
---|---|---|
.. | ||
widgets | ||
.eslintrc.json | ||
Dialog.js | ||
init.js | ||
Metrics.js | ||
Target.js | ||
templateDataGenerator.placeholder.less | ||
templateDataGenerator.ui.less |