mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-23 11:16:10 +02:00
* Progress on FSE / Area Posting
* Proof of concept work on user validation in FSE * Term now has pipeWrite()
This commit is contained in:
parent
ca26cca55b
commit
ec70cc8caa
8 changed files with 96 additions and 28 deletions
|
@ -36,9 +36,10 @@ function MessageAreaListModule(options) {
|
|||
changeArea : function(formData, extraArgs) {
|
||||
if(1 === formData.submitId) {
|
||||
var areaId = self.messageAreas[formData.value.area].areaId;
|
||||
|
||||
messageArea.changeCurrentArea(self.client, areaId, function areaChanged(err) {
|
||||
if(err) {
|
||||
self.client.term.write('\nCannot change area: ' + err.message + '\n');
|
||||
self.client.term.pipeWrite('\n|00Cannot change area: ' + err.message + '\n');
|
||||
|
||||
setTimeout(function timeout() {
|
||||
self.client.gotoMenuModule( { name : self.menuConfig.fallback } );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue