fix deleting items in list view

This commit is contained in:
rlx 2016-01-17 14:38:38 +05:30
parent f57f9b1fcd
commit 4fe8443c35

View file

@ -30,12 +30,13 @@ oml.ui.listView = function() {
columnsRemovable: true, columnsRemovable: true,
columnsResizable: true, columnsResizable: true,
columnsVisible: true, columnsVisible: true,
draggable: true,
items: function(data, callback) { items: function(data, callback) {
oml.api.find(Ox.extend(data, { oml.api.find(Ox.extend(data, {
query: ui.find query: ui.find
}), callback); }), callback);
}, },
draggable: true, keys: ['mediastate'],
scrollbarVisible: true, scrollbarVisible: true,
selected: ui.listSelection, selected: ui.listSelection,
sort: ui.listSort, sort: ui.listSort,