fix a bug that would prevent deleting items from a list
This commit is contained in:
parent
03ae9a5a8c
commit
5cc128b119
1 changed files with 2 additions and 2 deletions
|
@ -580,8 +580,8 @@ pandora.getListData = function(list) {
|
||||||
var values = $list.value(list);
|
var values = $list.value(list);
|
||||||
if (!Ox.isEmpty(values)) {
|
if (!Ox.isEmpty(values)) {
|
||||||
data = Ox.extend({
|
data = Ox.extend({
|
||||||
editable: data.user == pandora.user.username
|
editable: values.user == pandora.user.username
|
||||||
&& data.type == 'static',
|
&& values.type == 'static',
|
||||||
folder: id
|
folder: id
|
||||||
}, values);
|
}, values);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue