mirror of
https://github.com/MatMoul/quickdial-webext.git
synced 2024-12-23 07:26:11 +00:00
Bug: Somme node are empty and make data unusable
This commit is contained in:
parent
4a3072bbdc
commit
245d70a6eb
@ -360,6 +360,7 @@ app.GridNodes.sync = function(gridNode, rootPath, callback){ // Sync GridNodes w
|
||||
if(! gridNode.children) gridNode.children = [];
|
||||
else {
|
||||
for(var i=gridNode.children.length-1; i>=0; i--){
|
||||
if(!gridNode.children[i]) gridNode.children[i] = { type: app.GridNodes.GridNodeType.empty };
|
||||
if(gridNode.children[i].type==app.GridNodes.GridNodeType.empty){
|
||||
EmptyNodes.unshift(gridNode.children[i]);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user