only open help dialog via keyboard if no other dialog or screen is present
This commit is contained in:
parent
b85a637486
commit
3a682c7932
6 changed files with 23 additions and 26 deletions
|
|
@ -4,7 +4,7 @@ pandora.ui.folders = function() {
|
|||
that = Ox.Element()
|
||||
.css({overflowX: 'hidden', overflowY: 'auto'})
|
||||
.bindEvent({
|
||||
resize: pandora.resizeFolders
|
||||
resize: pandora.resizeFolders,
|
||||
});
|
||||
var counter = 0;
|
||||
//var $sections = [];
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ pandora.ui.info = function() {
|
|||
toggle: function(data) {
|
||||
Ox.print('INFO TOGGLE')
|
||||
pandora.UI.set({showInfo: !data.collapsed});
|
||||
//pandora.resizeFolders();
|
||||
},
|
||||
pandora_find: function() {
|
||||
if (pandora.user.ui._list != pandora.UI.getPrevious('_list')) {
|
||||
|
|
@ -19,9 +18,6 @@ pandora.ui.info = function() {
|
|||
},
|
||||
pandora_item: updateInfo,
|
||||
pandora_listselection: updateInfo,
|
||||
pandora_showinfo: function(data) {
|
||||
pandora.resizeFolders();
|
||||
}
|
||||
});
|
||||
|
||||
//pandora.$ui.leftPanel && resize();
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ pandora.ui.leftPanel = function() {
|
|||
collapsed: !pandora.user.ui.showInfo,
|
||||
collapsible: true,
|
||||
element: pandora.$ui.info = pandora.ui.info(),
|
||||
size: pandora.getInfoHeight(),
|
||||
size: pandora.getInfoHeight(true),
|
||||
tooltip: 'info'
|
||||
}
|
||||
],
|
||||
|
|
|
|||
|
|
@ -334,6 +334,7 @@ pandora.ui.list = function() {
|
|||
return {'in': clip['in'], out: clip.out};
|
||||
}) : [],
|
||||
subtitles: isClipsQuery ? data.clips.map(function(clip) {
|
||||
Ox.print('CLIP:::::', clip)
|
||||
return {'in': clip['in'], out: clip.out, text: clip.annotations[0].value};
|
||||
}) : []
|
||||
}
|
||||
|
|
|
|||
|
|
@ -298,7 +298,9 @@ pandora.ui.mainMenu = function() {
|
|||
pandora.UI.set({showSidebar: !ui.showSidebar});
|
||||
},
|
||||
key_shift_slash: function() {
|
||||
pandora.URL.push('/help');
|
||||
if ($('.OxDialog').length == 0 && $('.OxScreen').length == 0) {
|
||||
pandora.URL.push('/help');
|
||||
}
|
||||
},
|
||||
pandora_find: function() {
|
||||
var action = ui._list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue