Browse Source

if refreshInterval == 0, trigger refresh when creating the channel viewer. fixes #117

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
49bce20952
  1. 2
      pyweb/mumble/media/js/channelviewer.js

2
pyweb/mumble/media/js/channelviewer.js

@ -154,6 +154,8 @@ Ext.ux.MumbleChannelViewer = function( config ){
this.autoRefreshId = 0; this.autoRefreshId = 0;
this.setAutoRefresh(); this.setAutoRefresh();
if( this.refreshInterval == 0 )
this.refresh();
} }
Ext.extend( Ext.ux.MumbleChannelViewer, Ext.tree.TreePanel, { Ext.extend( Ext.ux.MumbleChannelViewer, Ext.tree.TreePanel, {

Loading…
Cancel
Save