go back to current list

This commit is contained in:
j 2019-02-12 13:36:31 +05:30
parent 85e315be40
commit 82d7f85bdb

View file

@ -111,6 +111,11 @@ oml.ui.folders = function() {
oml.UI.set({find: getFind('')});
oml.$ui.librariesList.options({selected: ['']});
},
singleclick: function(data) {
oml.UI.set({
find: getFind('')
});
},
selectnext: function() {
oml.UI.set(Ox.extend(
{find: getFind(':')},
@ -201,7 +206,14 @@ oml.ui.folders = function() {
!index && oml.addList();
},
select: function(data) {
oml.UI.set({find: getFind(data.ids[0])});
oml.UI.set({
find: getFind(data.ids[0]),
});
},
singleclick: function(data) {
oml.UI.set({
find: getFind(oml.$ui.libraryList[index].options('selected')[0])
});
},
selectnext: function() {
oml.UI.set({find: getFind(inboxId)});
@ -290,6 +302,11 @@ oml.ui.folders = function() {
open: function(data) {
!index && !Ox.contains(data.ids, ':Inbox') && oml.ui.listDialog().open();
},
singleclick: function(data) {
oml.UI.set({
find: getFind(oml.$ui.folderList[index].options('selected')[0])
});
},
select: function(data) {
oml.UI.set({find: getFind(data.ids[0])});
},