fix a bug that would prevent deleting items from a list

This commit is contained in:
rolux 2011-11-07 17:52:31 +00:00
parent 03ae9a5a8c
commit 5cc128b119

View file

@ -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;