-/*\r
- * Ext JS Library 2.2.1\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
+/*!
+ * Ext JS Library 3.1.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
FeedWindow = function() {\r
this.feedUrl = new Ext.form.ComboBox({\r
id: 'feed-url',\r
'<em>{url}</em><strong>{text}</strong>',\r
'<div class="x-clear"></div>',\r
'</div></tpl>'),\r
- store: new Ext.data.SimpleStore({\r
+ store: new Ext.data.ArrayStore({\r
fields: ['url', 'text'],\r
data : this.defaultFeeds\r
})\r
\r
buttons:[{\r
text: 'Add Feed!',\r
- handler: this.onAdd,\r
+ handler: this.onFeedAdd,\r
scope: this\r
},{\r
text: 'Cancel',\r
FeedWindow.superclass.show.apply(this, arguments);\r
},\r
\r
- onAdd: function() {\r
+ onFeedAdd: function() {\r
this.el.mask('Validating Feed...', 'x-mask-loading');\r
var url = this.feedUrl.getValue();\r
Ext.Ajax.request({\r
}\r
this.markInvalid();\r
}\r
-});
\ No newline at end of file
+});\r