in my way to display full titles on connection mode
This commit is contained in:
@@ -78,6 +78,7 @@ module.exports = {
|
||||
|
||||
},
|
||||
parseByID(callback){
|
||||
// create a id keyed array of contents
|
||||
// loop through laguages
|
||||
for(l in this.data){
|
||||
// console.log('l', l);
|
||||
@@ -93,18 +94,18 @@ module.exports = {
|
||||
// guess the type from the id
|
||||
// console.log(this.data[l][p].enonces[e].id);
|
||||
this.data[l][p].enonces[e].dottype = this.setupType(this.data[l][p].enonces[e].id);
|
||||
// records childs in array keyed by ids
|
||||
this.data_byid[l][this.data[l][p].enonces[e].id] = this.data[l][p].enonces[e];
|
||||
}
|
||||
// records childs in flat array by ids
|
||||
this.data_byid[l][this.data[l][p].enonces[e].id] = this.data[l][p].enonces[e];
|
||||
// loop through childs
|
||||
for (c in this.data[l][p].enonces[e].childs){
|
||||
// console.log(_db[p][e][c]);
|
||||
if(this.data[l][p].enonces[e].childs[c].id){
|
||||
// guess the type from the id
|
||||
this.data[l][p].enonces[e].childs[c].dottype = this.setupType(this.data[l][p].enonces[e].childs[c].id);
|
||||
// records childs in array keyed by ids
|
||||
this.data_byid[l][this.data[l][p].enonces[e].childs[c].id] = this.data[l][p].enonces[e].childs[c];
|
||||
}
|
||||
// records childs in flat array by ids
|
||||
this.data_byid[l][this.data[l][p].enonces[e].childs[c].id] = this.data[l][p].enonces[e].childs[c];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user