Some minor Debugger tweaks and other improvements

If a Markdown document contains an embedded machine that specifies a version number (eg, "1.15.6"), then the web server will switch to serving a compiled version, since that's the only way it can guarantee the requested version
This commit is contained in:
Jeff Parsons 2014-10-31 17:44:34 -07:00 • committed by jeffpar
commit 905a30017e
9 changed files with 911 additions and 889 deletions

View file

@ -414,7 +414,13 @@ Disk.prototype.powerDown = function(fSave, fShutdown)
if (fShutdown) {
this.disconnectRemoteDisk();
}
if (!nErrorCode) this.controller.notice(this.sDiskName + " saved");
/*
* I only report that changes to the disk have been "saved" if fSave is true, to avoid confusing
* users who might not understand the difference between discarding local changes (which should restore
* all diskettes to their original state) and discarding remote changes (which could leave the remote disk
* in a bad state).
*/
if (!nErrorCode && fSave) this.controller.notice(this.sDiskName + " saved");
}
return true;
};