mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 06:34:41 +02:00
* More file area utility methods/etc.
* Start adding oputil file-area --scan <areaTag> stuff * New new ArchiveUtil.getInstance()
This commit is contained in:
parent
35e7610670
commit
ec716fdf2c
6 changed files with 268 additions and 24 deletions
|
@ -67,6 +67,8 @@ exports.getModule = class FileAreaList extends MenuModule {
|
|||
this.filterCriteria = this.filterCriteria || {
|
||||
// :TODO: set area tag - all in current area by default
|
||||
};
|
||||
|
||||
this.currentFileEntry = new FileEntry();
|
||||
}
|
||||
|
||||
enter() {
|
||||
|
@ -139,9 +141,7 @@ exports.getModule = class FileAreaList extends MenuModule {
|
|||
function fetchEntryData(callback) {
|
||||
return self.loadFileIds(callback);
|
||||
},
|
||||
function loadCurrentFileInfo(callback) {
|
||||
self.currentFileEntry = new FileEntry();
|
||||
|
||||
function loadCurrentFileInfo(callback) {
|
||||
self.currentFileEntry.load( self.fileList[ self.fileListPosition ], err => {
|
||||
return callback(err);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue