From 5cc128b1199e7272bcf291fbaed83427446b96c8 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 7 Nov 2011 17:52:31 +0000 Subject: [PATCH] fix a bug that would prevent deleting items from a list --- static/js/pandora/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index c2b6836f..64302079 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -580,8 +580,8 @@ pandora.getListData = function(list) { var values = $list.value(list); if (!Ox.isEmpty(values)) { data = Ox.extend({ - editable: data.user == pandora.user.username - && data.type == 'static', + editable: values.user == pandora.user.username + && values.type == 'static', folder: id }, values); return false;