Browse Source

remove "template" param that doesn't do anything; improve usability of the interval field

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
5363418ce7
  1. 3
      htdocs/js/channelviewer.js

3
htdocs/js/channelviewer.js

@ -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

Loading…
Cancel
Save