Added command to select RL11 drive
This commit is contained in:
parent
c59dd06914
commit
edf22928b9
3 changed files with 62 additions and 15 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue