mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 11:38:27 +02:00
Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs
This commit is contained in:
commit
d63320e0b7
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