1 Ext.define('FV.view.feed.Add', {
2 extend: 'Ext.window.Window',
4 alias: 'widget.feedwindow',
6 requires: ['Ext.form.Panel', 'Ext.form.field.ComboBox'],
9 ['http://rss.cnn.com/rss/edition.rss', 'CNN Top Stories'],
10 ['http://sports.espn.go.com/espn/rss/news', 'ESPN Top News'],
11 ['http://news.google.com/news?ned=us&topic=t&output=rss', 'Sci/Tech - Google News'],
12 ['http://rss.news.yahoo.com/rss/software', 'Yahoo Software News']
22 initComponent: function() {
35 bodyStyle: 'padding: 10px;',
39 fieldLabel: 'Enter the URL of the feed to add',
43 store: this.defaultFeeds,
44 getInnerTpl: function() {
45 return '<div class="feed-picker-url">{field1}</div><div class="feed-picker-title">{field2}</div>';
51 this.callParent(arguments);