mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-01 23:41:57 +02:00
* 'action' must be part of a *menu* not a prompt (they remain generic)
* Menus and prompts in better harmony * Very eary WIP of converting login/apply/etc. to new system. These can now be helper scirpts and not full MenuModules (very simple!)
This commit is contained in:
parent
bac2f63c1a
commit
8db72430d3
7 changed files with 270 additions and 267 deletions
|
@ -13,13 +13,13 @@ var async = require('async');
|
|||
|
||||
// :TODO: clean up requires
|
||||
|
||||
exports.moduleInfo = {
|
||||
/*exports.moduleInfo = {
|
||||
name : 'Login',
|
||||
desc : 'Login Module',
|
||||
author : 'NuSkooler',
|
||||
};
|
||||
};*/
|
||||
|
||||
exports.getModule = LoginModule;
|
||||
//exports.getModule = LoginModule;
|
||||
|
||||
exports.attemptLogin = attemptLogin;
|
||||
|
||||
|
@ -52,7 +52,7 @@ function attemptLogin(callingMenu, formData, extraArgs) {
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
function LoginModule(menuConfig) {
|
||||
MenuModule.call(this, menuConfig);
|
||||
|
||||
|
@ -130,4 +130,5 @@ LoginModule.prototype.mciReady = function(mciData) {
|
|||
self.viewController = self.addViewController(new ViewController( { client : self.client } ));
|
||||
self.viewController.loadFromMCIMapAndConfig( { mciMap : mciData.menu, menuConfig : self.menuConfig }, function onViewReady(err) {
|
||||
});
|
||||
};
|
||||
};
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue