Show a loading message, in case there is a delay when going to a new frame
This commit is contained in:
parent
6f52952e41
commit
7eaa99b4e6
@ -45,6 +45,7 @@ function FrameAnsi() {
|
|||||||
this.settings.LOGIN_ERROR = '\1n\1h\1RERROR LOGGING IN, PLEASE TRY AGAIN *00';
|
this.settings.LOGIN_ERROR = '\1n\1h\1RERROR LOGGING IN, PLEASE TRY AGAIN *00';
|
||||||
this.settings.CANCEL_MSG = '\1n\1h\1GPRESS 2 TO CANCEL';
|
this.settings.CANCEL_MSG = '\1n\1h\1GPRESS 2 TO CANCEL';
|
||||||
this.settings.SYS_ERROR = '\1n\1h\1RSYSTEM ERROR DETECTED - TRY AGAIN OR TELL US *08';
|
this.settings.SYS_ERROR = '\1n\1h\1RSYSTEM ERROR DETECTED - TRY AGAIN OR TELL US *08';
|
||||||
|
this.settings.LOADING = '\1n\1h\1Wloading...';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the attribute at the current position
|
* Set the attribute at the current position
|
||||||
|
@ -152,6 +152,7 @@ PageFrame.prototype.getMessage = function(index) {
|
|||||||
*/
|
*/
|
||||||
PageFrame.prototype.load = function(filename) {
|
PageFrame.prototype.load = function(filename) {
|
||||||
log(LOG_DEBUG,'Loading FRAME from: '+filename+'.'+this.settings.ext);
|
log(LOG_DEBUG,'Loading FRAME from: '+filename+'.'+this.settings.ext);
|
||||||
|
this.sendBaseline('LOADING');
|
||||||
|
|
||||||
f = new File(system.mods_dir+'ansitex/text/'+filename+'.'+this.settings.ext);
|
f = new File(system.mods_dir+'ansitex/text/'+filename+'.'+this.settings.ext);
|
||||||
if (! f.exists || ! f.open('r')) {
|
if (! f.exists || ! f.open('r')) {
|
||||||
|
@ -62,6 +62,7 @@ function FrameViewdata() {
|
|||||||
this.settings.LOGIN_ERROR = ascii(27)+'AERROR LOGGING IN, PLEASE TRY AGAIN *00';
|
this.settings.LOGIN_ERROR = ascii(27)+'AERROR LOGGING IN, PLEASE TRY AGAIN *00';
|
||||||
this.settings.CANCEL_MSG = ascii(27)+'BPRESS 2 TO CANCEL';
|
this.settings.CANCEL_MSG = ascii(27)+'BPRESS 2 TO CANCEL';
|
||||||
this.settings.SYS_ERROR = ascii(27)+'ASYS ERR, TRY AGAIN OR TELL US ON *08';
|
this.settings.SYS_ERROR = ascii(27)+'ASYS ERR, TRY AGAIN OR TELL US ON *08';
|
||||||
|
this.settings.LOADING = VIEWDATA_MOSIAC_WHITE+'loading...';
|
||||||
|
|
||||||
var blp=0; // Length of data on the bottom line
|
var blp=0; // Length of data on the bottom line
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user