cosmetic changes

This commit is contained in:
rolux 2014-01-05 16:46:51 +05:30
parent 41a83eca7a
commit 5a2d90be58

View file

@ -139,7 +139,7 @@ pandora.ui.documentsView = function(options, self) {
id: data.id, id: data.id,
item: pandora.user.ui.item item: pandora.user.ui.item
}, function(result) { }, function(result) {
//if description is empty, fall back to global description // if description is empty, fall back to global description
self.$documentsList.value(data.id, data.key, result.data.description); self.$documentsList.value(data.id, data.key, result.data.description);
renderPreview(); renderPreview();
}); });
@ -236,6 +236,7 @@ pandora.ui.documentsView = function(options, self) {
that.reload = function() { that.reload = function() {
self.$documentsList.reloadList(); self.$documentsList.reloadList();
} }
return that; return that;
}; };