Index: jquery.treeTable.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/token/jquery.treeTable.js,v
retrieving revision 1.1
diff -u -p -r1.1 jquery.treeTable.js
--- jquery.treeTable.js 16 Mar 2010 23:48:58 -0000 1.1
+++ jquery.treeTable.js 24 Sep 2010 20:52:28 -0000
@@ -178,8 +178,9 @@
});
if(options.expandable) {
- cell.prepend('');
+ cell.wrapInner('');
$(cell[0].firstChild).click(function() { node.toggleBranch(); });
+ $(cell[0].firstChild).keydown(function(e) { if(e.keyCode == 13) {node.toggleBranch(); }});
if(options.clickableNodeNames) {
cell[0].style.cursor = "pointer";