X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/examples/feed-viewer/FeedWindow.js?ds=sidebyside diff --git a/examples/feed-viewer/FeedWindow.js b/examples/feed-viewer/FeedWindow.js index 6fa86181..a253eabf 100644 --- a/examples/feed-viewer/FeedWindow.js +++ b/examples/feed-viewer/FeedWindow.js @@ -1,5 +1,5 @@ /*! - * Ext JS Library 3.0.0 + * Ext JS Library 3.1.0 * Copyright(c) 2006-2009 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license @@ -55,7 +55,7 @@ FeedWindow = function() { buttons:[{ text: 'Add Feed!', - handler: this.onAdd, + handler: this.onFeedAdd, scope: this },{ text: 'Cancel', @@ -84,7 +84,7 @@ Ext.extend(FeedWindow, Ext.Window, { FeedWindow.superclass.show.apply(this, arguments); }, - onAdd: function() { + onFeedAdd: function() { this.el.mask('Validating Feed...', 'x-mask-loading'); var url = this.feedUrl.getValue(); Ext.Ajax.request({ @@ -125,4 +125,4 @@ Ext.extend(FeedWindow, Ext.Window, { } this.markInvalid(); } -}); \ No newline at end of file +});