diff --git a/static/js/pandora/allItems.js b/static/js/pandora/allItems.js
index f794ebf9..fd2db9c5 100644
--- a/static/js/pandora/allItems.js
+++ b/static/js/pandora/allItems.js
@@ -72,7 +72,7 @@ pandora.ui.allItems = function() {
}, function(result) {
that.update(result.data.items);
});
- } else if (pandora.user.ui.section == 'text') {
+ } else if (pandora.user.ui.section == 'texts') {
Ox.Button({
style: 'symbol',
title: 'file',
diff --git a/static/js/pandora/folderBrowserList.js b/static/js/pandora/folderBrowserList.js
index 3635c25d..4a16da2e 100644
--- a/static/js/pandora/folderBrowserList.js
+++ b/static/js/pandora/folderBrowserList.js
@@ -70,7 +70,9 @@ pandora.ui.folderBrowserList = function(id) {
},
{
clickable: function(data) {
- return data.type == 'smart' || data.user == pandora.user.username;
+ return pandora.user.ui.section == 'items' && (
+ data.type == 'smart' || data.user == pandora.user.username
+ );
},
format: function(value, data) {
return $('')
diff --git a/static/js/pandora/folderList.js b/static/js/pandora/folderList.js
index a1ead529..1a2e2cbe 100644
--- a/static/js/pandora/folderList.js
+++ b/static/js/pandora/folderList.js
@@ -76,7 +76,9 @@ pandora.ui.folderList = function(id) {
},
{
clickable: function(data) {
- return data.type == 'smart' || data.user == pandora.user.username;
+ return pandora.user.ui.section == 'items' && (
+ data.type == 'smart' || data.user == pandora.user.username
+ );
},
format: function(value, data) {
return $('')
diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js
index 550b01d0..913672b1 100644
--- a/static/js/pandora/utils.js
+++ b/static/js/pandora/utils.js
@@ -1236,6 +1236,7 @@ pandora.resizeFolders = function() {
pandora.user.ui.section == 'items' ? 96 : 32
),
columnWidth = {};
+ Ox.print('WIDTH:::', width)
columnWidth.user = Math.round(width * 0.4);
columnWidth.name = width - columnWidth.user;
pandora.$ui.allItems.resizeElement(width - 8);