Skip to content

Commit

Permalink
fix: dragged review sets engine value (#1251)
Browse files Browse the repository at this point in the history
  • Loading branch information
csmig authored Mar 27, 2024
1 parent 46e08a2 commit 9fd8f35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/js/SM/Review.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ SM.Review.Form.Panel = Ext.extend(Ext.form.FormPanel, {
}

this.resultChanged = function () {
return ack.lastSavedData != ack.getValue()
return rcb.lastSavedData != rcb.value
}

function loadValues (values) {
Expand Down Expand Up @@ -684,6 +684,7 @@ SM.Review.Form.Panel = Ext.extend(Ext.form.FormPanel, {
// Load the record into the form
if (!rcb.disabled) {
rcb.setValue(selectedRecord.data.result);
rcb.fireEvent('select')
}
dta.setValue(selectedRecord.data.detail);
if (rcb.getValue() === 'fail') {
Expand Down

0 comments on commit 9fd8f35

Please sign in to comment.