Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix shortcuts disabling on SearchEngine. Fix #994
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Nov 26, 2015
1 parent 6e4c864 commit ced1fdf
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -236,8 +236,8 @@ Class.create("SearchEngine", AjxpPane, {
}

formPanel.select('input').each(function(el){
el.observe('focus', pydio.UI.disableAllKeyBindings.bind(ajaxplorer));
el.observe('blur', pydio.UI.enableAllKeyBindings.bind(ajaxplorer));
el.observe('focus', pydio.UI.disableAllKeyBindings.bind(pydio.UI));
el.observe('blur', pydio.UI.enableAllKeyBindings.bind(pydio.UI));
el.observe('keydown', function(event){
if(event.keyCode == Event.KEY_RETURN){
oThis.search();
Expand Down

0 comments on commit ced1fdf

Please sign in to comment.