Skip to content

Commit

Permalink
Merge pull request #2870 from SCADA-LTS/feature/#2762_Scripting_limit…
Browse files Browse the repository at this point in the history
…_risk_of_errors_when_using_writeDataPoint_function

Scripting limit risk of errors when using writeDataPoint function
  • Loading branch information
Limraj authored May 10, 2024
2 parents 63890fe + 11e28b2 commit d37628e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WebContent/WEB-INF/jsp/scripting.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
pointsArray[i] = {
"id":point.id,
"name":point.extendName,
"xid":point.xid,
"type":point.dataType,
};
}
Expand Down Expand Up @@ -205,6 +206,7 @@
pointId : pointId,
pointName : data.name,
pointType : data.type,
xid : data.xid,
scriptVarName : scriptVarName
};
}
Expand All @@ -230,6 +232,7 @@
dwr.util.addRows("contextTable", contextArray,
[
function(data) { return data.pointName; },
function(data) { return data.xid; },
function(data) { return data.pointType; },
function(data) {
return "<input type='text' value='"+ data.scriptVarName +"' class='formShort' "+
Expand Down Expand Up @@ -427,6 +430,7 @@
<tbody id="contextTableHeaders" style="display:none;">
<tr class="smRowHeader">
<td><fmt:message key="dsEdit.meta.pointName"/></td>
<td><fmt:message key="pointHierarchySLTS.xid"/></td>
<td><fmt:message key="dsEdit.pointDataType"/></td>
<td><fmt:message key="dsEdit.meta.var"/></td>
<td></td>
Expand Down

0 comments on commit d37628e

Please sign in to comment.