More diagnostic output improvements

This commit is contained in:
Jeff Parsons 2017-06-28 17:51:15 -07:00 committed by Jeff Parsons
commit 51f8440e9b
40 changed files with 4462 additions and 4398 deletions

View file

@ -305,11 +305,16 @@ class Computer extends Component {
if (sStatePath) this.fServerState = true;
}
if (!sStatePath) {
this.sStateURL = sStatePath;
if (!this.sStateURL) {
this.setReady();
} else {
Web.getResource(sStatePath, null, true, function(sURL, sResource, nErrorCode) {
var sProgress = "Loading " + this.sStateURL + "...";
Web.getResource(this.sStateURL, null, true, function(sURL, sResource, nErrorCode) {
cmp.doneLoad(sURL, sResource, nErrorCode);
}, function(nState) {
cmp.println(sProgress, Component.TYPE.PROGRESS);
});
}
@ -367,6 +372,7 @@ class Computer extends Component {
if (control) {
control.style.opacity = "0";
control.style.lineHeight = "0";
control.value = "";
}
}
}