Skip to content

Commit

Permalink
Fixed test #219
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Jan 4, 2024
1 parent e3582e7 commit 76a367e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions grails-app/assets/javascripts/forms-knockout-bindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1226,8 +1226,8 @@
// direct observable accepts geojson.
target(data);
}
else if (configTarget.type = "singleLoad") {
loadData(target, data);
else if (configTarget.type == "singleLoad") {
doLoad(target, data);
}
else {
target = target.data || target;
Expand Down
4 changes: 3 additions & 1 deletion src/test/js/spec/TriggerPrePopulateBindingSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ describe("triggerPrePopulate binding handler Spec", function () {
source: {
"context-path":"test"
},
target: "item2"
target: {
name:"item2"
}

}
}
Expand Down

0 comments on commit 76a367e

Please sign in to comment.