Skip to content

Commit

Permalink
Fixed issue with change tracking and delete button (#20).
Browse files Browse the repository at this point in the history
  • Loading branch information
svenrog committed Aug 17, 2023
1 parent fc1252c commit 2ed5443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ define("genericLinks/editors/GenericItemEditor", [
if (value && !(value instanceof Array)) {
value = [value];
}
this.value = value;
this.model.set("data", value);
this.updateDisplay(value);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ define("genericLinks/editors/GenericItemEditor", [
if (value && !(value instanceof Array)) {
value = [value];
}
this.value = value;
this.model.set("data", value);
this.updateDisplay(value);
},
Expand Down

0 comments on commit 2ed5443

Please sign in to comment.