Fixed soft keyboard controls for both iOS and non-iOS browsers, and updated the TopView 1.01 page

This commit is contained in:
Jeff Parsons 2017-07-25 18:50:14 -07:00 committed by Jeff Parsons
commit d8804faba0
32 changed files with 1132 additions and 1067 deletions

View file

@ -770,7 +770,11 @@ class Component {
{
var fSuccess = false;
idMachine += ".machine";
if (typeof sScript == "string" && !Component.commands[idMachine]) {
if (!sScript) {
delete Component.commands[idMachine];
fSuccess = true;
}
else if (typeof sScript == "string" && !Component.commands[idMachine]) {
fSuccess = true;
Component.commands[idMachine] = Component.getScriptCommands(sScript);
if (!Component.processCommands(idMachine)) {