mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
Merge "Fix bad parameter ID "…/undefined" on placeholders"
This commit is contained in:
commit
8b64e54149
|
@ -30,7 +30,7 @@ ve.dm.MWParameterModel = function VeDmMWParameterModel( template, name, value )
|
|||
this.originalName = name;
|
||||
this.name = typeof name === 'string' ? name.trim() : '';
|
||||
this.value = value || '';
|
||||
this.id = this.template.getId() + '/' + name;
|
||||
this.id = this.template.getId() + '/' + this.name;
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
Loading…
Reference in a new issue