From 5a2d90be58053bff97d9e36e4abed95e509046a5 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 5 Jan 2014 16:46:51 +0530 Subject: [PATCH] cosmetic changes --- static/js/documentsView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/documentsView.js b/static/js/documentsView.js index 03334bd67..10d4b921b 100644 --- a/static/js/documentsView.js +++ b/static/js/documentsView.js @@ -139,7 +139,7 @@ pandora.ui.documentsView = function(options, self) { id: data.id, item: pandora.user.ui.item }, 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); renderPreview(); }); @@ -236,6 +236,7 @@ pandora.ui.documentsView = function(options, self) { that.reload = function() { self.$documentsList.reloadList(); } + return that; };