Skip to content

Commit

Permalink
Fix escape key event observation
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed May 19, 2011
1 parent 080578a commit 402b177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rundeckapp/grails-app/views/menu/jobs.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
//click outside of popup bubble hides it
doMouseout();
},false);
Event.observe(document.body,'keydown',function(evt){
Event.observe(document,'keydown',function(evt){
//escape key hides popup bubble
if(evt.keyCode===27 ){
doMouseout();
Expand Down
2 changes: 1 addition & 1 deletion rundeckapp/grails-app/views/scheduledExecution/_edit.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ var applinks={
//click outside of popup bubble hides it
tooltipMouseOut();
},false);
Event.observe(document.body,'keydown',function(evt){
Event.observe(document,'keydown',function(evt){
//escape key hides popup bubble
if(evt.keyCode===27 ){
tooltipMouseOut();
Expand Down

0 comments on commit 402b177

Please sign in to comment.