From 4fe8443c353de5eba9ee27b36cb0898071af2c41 Mon Sep 17 00:00:00 2001 From: rlx Date: Sun, 17 Jan 2016 14:38:38 +0530 Subject: [PATCH] fix deleting items in list view --- static/js/listView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/listView.js b/static/js/listView.js index 08915f8..9448194 100644 --- a/static/js/listView.js +++ b/static/js/listView.js @@ -30,12 +30,13 @@ oml.ui.listView = function() { columnsRemovable: true, columnsResizable: true, columnsVisible: true, + draggable: true, items: function(data, callback) { oml.api.find(Ox.extend(data, { query: ui.find }), callback); }, - draggable: true, + keys: ['mediastate'], scrollbarVisible: true, selected: ui.listSelection, sort: ui.listSort,