Permalink
Browse files

bindKeys method should not return false when certain keys are pressed.

  • Loading branch information...
tonytomov committed Jun 29, 2011
1 parent 28ac26b commit 84a657c33ec88f92a27dcf5be98d03a64c4ea7ff
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/grid.base.js
View
@@ -3272,19 +3272,19 @@ $.jgrid.extend({
o.onRightKey.call($t, $t.p.selrow);
}
}
- return false;
+ //return false;
}
//check if enter was pressed on a grid or treegrid node
else if( event.keyCode === 13 ){
if($.isFunction(o.onEnter)) {
o.onEnter.call($t, $t.p.selrow);
}
- return false;
+ //return false;
} else if(event.keyCode === 32) {
if($.isFunction(o.onSpace)) {
o.onSpace.call($t, $t.p.selrow);
}
- return false;
+ //return false;
}
}
});

0 comments on commit 84a657c

Please sign in to comment.