diff interfaces/AB.js @ 2737:dff4b73459fc

#202 Fixed
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Fri, 21 Apr 2017 16:20:28 +0100
parents d999a8fc26ea
children b0a35c4b7023
line wrap: on
line diff
--- a/interfaces/AB.js	Fri Apr 21 11:21:51 2017 +0100
+++ b/interfaces/AB.js	Fri Apr 21 16:20:28 2017 +0100
@@ -423,7 +423,10 @@
                     break;
                 case 'scalerange':
                     // Check the scale has been used effectively
-                    console.log("WARNING - Check 'scalerange' does not make sense in AB/ABX! Ignoring!");
+                    checkState = interfaceContext.checkScaleRange();
+                    if (checkState === false) {
+                        canContinue = false;
+                    }
                     break;
                 default:
                     console.log("WARNING - Check option " + checks[i].check + " is not supported on this interface");