import/lists/autocompleteFolder
This commit is contained in:
parent
94443ee667
commit
d6f350e5a1
42 changed files with 955 additions and 436 deletions
|
|
@ -50,6 +50,14 @@ oml.ui.list = function() {
|
|||
}
|
||||
},
|
||||
init: function(data) {
|
||||
Ox.print('MAIN LIST INIT', data);
|
||||
if (ui.find.conditions.length == 0 || (
|
||||
ui.find.conditions.length == 1
|
||||
&& ui.find.conditions[0].key == 'list'
|
||||
&& ui.find.conditions[0].operator == '=='
|
||||
)) {
|
||||
oml.$ui.folders.updateItems(data.items);
|
||||
}
|
||||
oml.$ui.statusbar.set('total', data);
|
||||
},
|
||||
key_control_delete: function() {
|
||||
|
|
@ -58,6 +66,15 @@ oml.ui.list = function() {
|
|||
oml.ui.deleteItemsDialog().open();
|
||||
}
|
||||
},
|
||||
key_shift_enter: function() {
|
||||
var selected = that.options('selected');
|
||||
if (selected.length) {
|
||||
oml.UI.set({
|
||||
item: selected[0],
|
||||
itemView: 'book'
|
||||
});
|
||||
}
|
||||
},
|
||||
open: function(data) {
|
||||
oml.UI.set({
|
||||
item: data.ids[0],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue