|
|
@ -892,6 +892,7 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
// Arrow keys to modify the selection
|
|
|
|
// Arrow keys to modify the selection
|
|
|
|
var onWindowKeydown = function (e) {
|
|
|
|
var onWindowKeydown = function (e) {
|
|
|
|
|
|
|
|
if (!$content.is(':visible')) { return; }
|
|
|
|
var $searchBar = $tree.find('#cp-app-drive-tree-search-input');
|
|
|
|
var $searchBar = $tree.find('#cp-app-drive-tree-search-input');
|
|
|
|
if (document.activeElement && document.activeElement.nodeName === 'INPUT') { return; }
|
|
|
|
if (document.activeElement && document.activeElement.nodeName === 'INPUT') { return; }
|
|
|
|
if ($searchBar.is(':focus') && $searchBar.val()) { return; }
|
|
|
|
if ($searchBar.is(':focus') && $searchBar.val()) { return; }
|
|
|
|