Added command to select RL11 drive

This commit is contained in:
Jeff Parsons 2017-01-08 23:16:38 -08:00 committed by Jeff Parsons
commit edf22928b9
3 changed files with 62 additions and 15 deletions

View file

@ -117,7 +117,9 @@ function commandMachine(idMachine, sType, sCommand, sValue)
var fnCommand = exports[sCommand];
if (fnCommand) {
//noinspection JSUnresolvedFunction
fnCommand.call(component, sValue);
if (!fnCommand.call(component, sValue)) {
window.alert("Error calling " + idMachine + "." + sType + "." + sCommand + "(" + sValue + ")");
}
return;
}
}