Allow setting note text with createDataObject('item') test function
This commit is contained in:
parent
4867fc7e03
commit
7609ef35bc
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue