aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json2
-rw-r--r--package.json2
-rw-r--r--src/client/views/nodes/ScriptingBox.tsx12
3 files changed, 8 insertions, 8 deletions
diff --git a/package-lock.json b/package-lock.json
index f675beb94..8b10d91f3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17976,4 +17976,4 @@
}
}
}
-} \ No newline at end of file
+}
diff --git a/package.json b/package.json
index 8bf1e6b74..ca82d523d 100644
--- a/package.json
+++ b/package.json
@@ -228,4 +228,4 @@
"xoauth2": "^1.2.0",
"xregexp": "^4.3.0"
}
-} \ No newline at end of file
+}
diff --git a/src/client/views/nodes/ScriptingBox.tsx b/src/client/views/nodes/ScriptingBox.tsx
index 73288eec4..5bcb5f348 100644
--- a/src/client/views/nodes/ScriptingBox.tsx
+++ b/src/client/views/nodes/ScriptingBox.tsx
@@ -60,10 +60,10 @@ export class ScriptingBox extends ViewBoxAnnotatableComponent<FieldViewProps, Sc
set compileParams(value) { this.dataDoc[this.props.fieldKey + "-params"] = value; }
- set _paramsNames(value: string[]) { this.dataDoc[this.props.fieldKey + "-paramsNames"] = new List<string>(value) }
- set _paramsTypes(value: string[]) { this.dataDoc[this.props.fieldKey + "-paramsTypes"] = new List<string>(value) }
- set _paramsValues(value: string[]) { this.dataDoc[this.props.fieldKey + "-paramsValues"] = new List<string>(value) }
- set _paramsCollapsed(value: boolean[]) { this.dataDoc[this.props.fieldKey + "-paramsCollapsed"] = new List<boolean>(value) }
+ set _paramsNames(value: string[]) { this.dataDoc[this.props.fieldKey + "-paramsNames"] = new List<string>(value); }
+ set _paramsTypes(value: string[]) { this.dataDoc[this.props.fieldKey + "-paramsTypes"] = new List<string>(value); }
+ set _paramsValues(value: string[]) { this.dataDoc[this.props.fieldKey + "-paramsValues"] = new List<string>(value); }
+ set _paramsCollapsed(value: boolean[]) { this.dataDoc[this.props.fieldKey + "-paramsCollapsed"] = new List<boolean>(value); }
stopPropagation = (e: React.SyntheticEvent) => e.stopPropagation();
@@ -116,7 +116,7 @@ export class ScriptingBox extends ViewBoxAnnotatableComponent<FieldViewProps, Sc
editable: true,
transformer: DocumentIconContainer.getTransformer(),
params,
- typecheck: true
+ typecheck: false
});
this._errorMessage = "";
if (result.compiled) {
@@ -179,7 +179,7 @@ export class ScriptingBox extends ViewBoxAnnotatableComponent<FieldViewProps, Sc
editable: true,
transformer: DocumentIconContainer.getTransformer(),
params,
- typecheck: true
+ typecheck: false
});
this._errorMessage = "";
if (result.compiled) {