X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/examples/feed-viewer/FeedViewer.js diff --git a/examples/feed-viewer/FeedViewer.js b/examples/feed-viewer/FeedViewer.js index d41ef85c..83aa0673 100644 --- a/examples/feed-viewer/FeedViewer.js +++ b/examples/feed-viewer/FeedViewer.js @@ -1,11 +1,9 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - +/*! + * Ext JS Library 3.1.0 + * Copyright(c) 2006-2009 Ext JS, LLC + * licensing@extjs.com + * http://www.extjs.com/license + */ FeedViewer = {}; Ext.onReady(function(){ @@ -58,6 +56,12 @@ Ext.onReady(function(){ url:'http://feeds.feedburner.com/ajaxian', text: 'Ajaxian' }, true); + + Ext.get('header').on('click', function() { + viewport.focus(); + }); + + feeds.focus(); }); // This is a custom event handler passed to preview panels so link open in a new windw