Allow setting note text with createDataObject('item') test function
This commit is contained in:
parent
4867fc7e03
commit
7609ef35bc
|
@ -417,6 +417,9 @@ function createUnsavedDataObject(objectType, params = {}) {
|
||||||
if (params.tags !== undefined) {
|
if (params.tags !== undefined) {
|
||||||
obj.setTags(params.tags);
|
obj.setTags(params.tags);
|
||||||
}
|
}
|
||||||
|
if (params.note !== undefined) {
|
||||||
|
obj.setNote(params.note);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'collection':
|
case 'collection':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user