Changes

Jump to navigation Jump to search
m
no edit summary
Line 51: Line 51:  
pdui = new interfaceMediaContainer( mw, pdxb );
 
pdui = new interfaceMediaContainer( mw, pdxb );
   −
 
+
if ( current_entity != undefined ) {
Object.keys(current_entity).forEach( function ( entity_checked ){
+
Object.keys(current_entity).forEach( function ( entity_checked ){
if ( current_entity[entity_checked] != undefined ){
+
if ( current_entity[entity_checked] != undefined ){
if ( Object.keys( current_entity[entity_checked] ).length > 0 ) {
+
if ( Object.keys( current_entity[entity_checked] ).length > 0 ) {
pdui.renderInterface( entity_checked );
+
pdui.renderInterface( entity_checked );
 +
}
 
}
 
}
}
+
});
});
+
}
 
   
console.log("test: ")
 
console.log("test: ")
 
console.log(current_entity);
 
console.log(current_entity);
    
});
 
});
530

edits

Navigation menu