|
@ -71,6 +71,7 @@ Ext.ux.MumbleChannelViewer = function( config ){ |
|
|
value: this.refreshInterval / 1000, |
|
|
value: this.refreshInterval / 1000, |
|
|
ref: "../nfAutoRefreshInterval", |
|
|
ref: "../nfAutoRefreshInterval", |
|
|
scope: this, |
|
|
scope: this, |
|
|
|
|
|
selectOnFocus: true, |
|
|
listeners: { |
|
|
listeners: { |
|
|
render: function(c) { |
|
|
render: function(c) { |
|
|
Ext.QuickTips.register({ |
|
|
Ext.QuickTips.register({ |
|
@ -81,12 +82,12 @@ Ext.ux.MumbleChannelViewer = function( config ){ |
|
|
specialkey: function( field, ev ){ |
|
|
specialkey: function( field, ev ){ |
|
|
if( ev.getKey() == ev.ENTER ){ |
|
|
if( ev.getKey() == ev.ENTER ){ |
|
|
this.scope.setAutoRefresh(); // lawl
|
|
|
this.scope.setAutoRefresh(); // lawl
|
|
|
|
|
|
this.blur(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, gettext("Seconds"), '->', { |
|
|
}, gettext("Seconds"), '->', { |
|
|
xtype: "button", |
|
|
xtype: "button", |
|
|
template: null, |
|
|
|
|
|
text: gettext("Refresh"), |
|
|
text: gettext("Refresh"), |
|
|
handler: this.refresh, |
|
|
handler: this.refresh, |
|
|
scope: this |
|
|
scope: this |
|
|