X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..c930e9176a5a85509c5b0230e2bff5c22a591432:/examples/feed-viewer/FeedViewer.js?ds=inline diff --git a/examples/feed-viewer/FeedViewer.js b/examples/feed-viewer/FeedViewer.js index d41ef85c..7987268c 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.0.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