Help on message reading #29
This commit is contained in:
parent
065254419c
commit
87b6e245ce
14
core/fse.js
14
core/fse.js
|
@ -291,7 +291,7 @@ function FullScreenEditorModule(options) {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.redrawScreen = function(options, cb) {
|
this.redrawScreen = function(cb) {
|
||||||
var comps = [ 'header', 'body' ];
|
var comps = [ 'header', 'body' ];
|
||||||
var art = self.menuConfig.config.art;
|
var art = self.menuConfig.config.art;
|
||||||
|
|
||||||
|
@ -325,6 +325,8 @@ function FullScreenEditorModule(options) {
|
||||||
comps.forEach(function artComp(n) {
|
comps.forEach(function artComp(n) {
|
||||||
self.viewControllers[n].redrawAll();
|
self.viewControllers[n].redrawAll();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
callback(null);
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
function complete(err) {
|
function complete(err) {
|
||||||
|
@ -413,7 +415,8 @@ function FullScreenEditorModule(options) {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
function complete(err) {
|
function complete(err) {
|
||||||
if(err) {
|
if(err) {
|
||||||
|
// :TODO: This needs properly handled!
|
||||||
console.log(err)
|
console.log(err)
|
||||||
} else {
|
} else {
|
||||||
self.isReady = true;
|
self.isReady = true;
|
||||||
|
@ -636,8 +639,9 @@ function FullScreenEditorModule(options) {
|
||||||
theme.displayThemeArt( { name : self.menuConfig.config.art.help, client : self.client },
|
theme.displayThemeArt( { name : self.menuConfig.config.art.help, client : self.client },
|
||||||
function helpDisplayed(err, artData) {
|
function helpDisplayed(err, artData) {
|
||||||
self.client.waitForKeyPress(function keyPress(ch, key) {
|
self.client.waitForKeyPress(function keyPress(ch, key) {
|
||||||
self.redrawScreen();
|
self.redrawScreen(function redrawn(err) {
|
||||||
self.viewControllers[self.getFooterName()].setFocus(true);
|
self.viewControllers[self.getFooterName()].setFocus(true);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -754,7 +758,7 @@ function FullScreenEditorModule(options) {
|
||||||
self.updateEditModePosition(body.getEditPosition());
|
self.updateEditModePosition(body.getEditPosition());
|
||||||
|
|
||||||
self.observeEditorEvents();
|
self.observeEditorEvents();
|
||||||
}
|
};
|
||||||
|
|
||||||
this.menuMethods = {
|
this.menuMethods = {
|
||||||
headerSubmit : function(formData, extraArgs) {
|
headerSubmit : function(formData, extraArgs) {
|
||||||
|
|
Loading…
Reference in New Issue