]> git.wh0rd.org Git - tt-rss.git/commitdiff
block FeedTree from interpreting keystrokes
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 2 Feb 2012 08:40:10 +0000 (12:40 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 2 Feb 2012 08:40:10 +0000 (12:40 +0400)
js/FeedTree.js

index b5b757164131115fd472967305f26e3a65ade592..38d0846b1c13bdf5f6a4763114e9416b8a6268ff 100644 (file)
@@ -94,6 +94,9 @@ dojo.declare("fox.FeedStoreModel", dijit.tree.ForestStoreModel, {
 });
 
 dojo.declare("fox.FeedTree", dijit.Tree, {
+       _onKeyPress: function(/* Event */ e) {
+               return; // Stop dijit.Tree from interpreting keystrokes
+       },
        _createTreeNode: function(args) {
                var tnode = new dijit._TreeNode(args);