Skip to content

Commit fdae4e8

Browse files
authored
Update GridEditor.js
fixed case of reference to "ID" field so it matches how it's generated
1 parent ed1cdfe commit fdae4e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/GridEditor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function DataGridCancelEdit(onActionCompletedFunction) {
4646
function DataGridDeleteRow(deleteFormId, rowId) {
4747
if (confirm("This will delete the record.")) {
4848
var form = document.getElementById(deleteFormId);
49-
form.elements["Id"].value = rowId;
49+
form.elements["ID"].value = rowId;
5050
form.submit();
5151
}
5252
}
@@ -113,4 +113,4 @@ function BuildDataObject(aFieldIds, aFieldNames, extraFields, extraValues) {
113113
}
114114

115115
return result;
116-
}
116+
}

0 commit comments

Comments
 (0)