Remove explicit type from Task snippet in the YAML template
Change-Id: I467f505605e86de908915bf583a87269bbf528f6 Closes-Bug: #1449463
This commit is contained in:
parent
515eaf0892
commit
30c615bf9b
|
@ -196,6 +196,11 @@
|
||||||
remove: function() {
|
remove: function() {
|
||||||
this.emit('change', 'taskRemove', this.getID());
|
this.emit('change', 'taskRemove', this.getID());
|
||||||
},
|
},
|
||||||
|
_getPrettyJSON: function() {
|
||||||
|
var json = fields.frozendict._getPrettyJSON.apply(this, arguments);
|
||||||
|
delete json.type;
|
||||||
|
return json;
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
'@meta': {
|
'@meta': {
|
||||||
'baseKey': 'task',
|
'baseKey': 'task',
|
||||||
|
|
Loading…
Reference in New Issue