forked from 0x2620/pandora
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);
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue