summaryrefslogtreecommitdiff
path: root/js/Misc/BPLATFORM.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/BPLATFORM.js')
-rw-r--r--js/Misc/BPLATFORM.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Misc/BPLATFORM.js b/js/Misc/BPLATFORM.js
index 0e4c663f..0c93f6a8 100644
--- a/js/Misc/BPLATFORM.js
+++ b/js/Misc/BPLATFORM.js
@@ -66,6 +66,7 @@ function BPLATFORM() {
}
if (!ok) {
message(mess);
+ throw "user error";
} else {
var rpar = [[this.plen],[this.csiz],[this.phi],[this.xmin],[this.xmax],[this.ymin],[this.ymax]];
this.model.rpar = new ScilabDouble(rpar);