mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 07:04:32 +02:00
* Some work on NUA
* Placeholder for sysop feedback after NUA step
This commit is contained in:
parent
6c38ff54d5
commit
1175278779
4 changed files with 152 additions and 92 deletions
|
@ -245,8 +245,12 @@ function ViewController(options) {
|
|||
function complete(err) {
|
||||
// default to highest ID if no 'submit' entry present
|
||||
if(!submitId) {
|
||||
// :TODO: fix bug here: If errornous MCI code sare used, we'll reference invalid views -- these should jsut be ignored
|
||||
self.getView(highestId).submit = true;
|
||||
var highestIdView = self.getView(highestId);
|
||||
if(highestIdView) {
|
||||
highestIdView.submit = true;
|
||||
} else {
|
||||
self.client.log.warn( { highestId : highestId }, 'View does not exist');
|
||||
}
|
||||
}
|
||||
|
||||
cb(err, { initialFocusId : initialFocusId } );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue