* Very minor change
This commit is contained in:
parent
02e90d7ca3
commit
b910007647
17
core/fse.js
17
core/fse.js
|
@ -305,7 +305,7 @@ function FullScreenEditorModule(options) {
|
||||||
var header = self.viewControllers.header;
|
var header = self.viewControllers.header;
|
||||||
var from = header.getView(1);
|
var from = header.getView(1);
|
||||||
from.acceptsFocus = false;
|
from.acceptsFocus = false;
|
||||||
from.setText(self.client.user.username);
|
//from.setText(self.client.user.username);
|
||||||
|
|
||||||
var body = self.viewControllers.body.getView(1);
|
var body = self.viewControllers.body.getView(1);
|
||||||
self.updateTextEditMode(body.getTextEditMode());
|
self.updateTextEditMode(body.getTextEditMode());
|
||||||
|
@ -313,10 +313,19 @@ function FullScreenEditorModule(options) {
|
||||||
|
|
||||||
callback(null);
|
callback(null);
|
||||||
},
|
},
|
||||||
function loadSuppliedMessage(callback) {
|
function setInitialData(callback) {
|
||||||
if(self.message) {
|
switch(self.editorMode) {
|
||||||
self.initHeaderFromMessage();
|
case 'view' :
|
||||||
|
if(self.message) {
|
||||||
|
self.initHeaderFromMessage();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'edit' :
|
||||||
|
self.viewControllers.header.getView(1).setText(self.client.user.username); // from
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
callback(null);
|
callback(null);
|
||||||
},
|
},
|
||||||
function setInitialFocus(callback) {
|
function setInitialFocus(callback) {
|
||||||
|
|
Loading…
Reference in New Issue