comparison modules/mod_disco.js @ 51:22b06eade9a7

Fix typo error.
author Sonny Piers <sonny.piers@gmail.com>
date Mon, 21 Mar 2011 15:40:32 +0100
parents 0d3f18bb1d36
children 296de54c1c4b
comparison
equal deleted inserted replaced
50:e6c2c66c2002 51:22b06eade9a7
110 if (children[nodeID] == 'node') { 110 if (children[nodeID] == 'node') {
111 if (config.enabled('meta-data')) { 111 if (config.enabled('meta-data')) {
112 var metadata = storage.getMetadata(nodeID); 112 var metadata = storage.getMetadata(nodeID);
113 if (metadata['pubsub#title']) 113 if (metadata['pubsub#title'])
114 attr.name = metadata['pubsub#title']; 114 attr.name = metadata['pubsub#title'];
115 if (metadata['pubsub#creator'])
116 attr.creator = metadata['pubsub#creator'];
115 117
116 if (config.hideNonAccessibleNodes) { 118 if (config.hideNonAccessibleNodes) {
117 var configuration = storage.getConfiguration(nodeID); 119 var configuration = storage.getConfiguration(nodeID);
118 if (configuration['pubsub#access_model'] == 'whitelist') { 120 if (configuration['pubsub#access_model'] == 'whitelist') {
119 var affils = storage.getAffiliationsFromNodeID(nodeID); 121 var affils = storage.getAffiliationsFromNodeID(nodeID);