migrated new panes to iitcm

This commit is contained in:
Philipp Schaefer
2015-01-24 12:30:23 +01:00
parent dc44b5d61d
commit 239a5d5c61
3 changed files with 10 additions and 15 deletions

View File

@ -563,7 +563,7 @@ window.chat.needMoreMessages = function() {
window.chat.chooseTab = function(tab) {
if (tab != 'all' && tab != 'faction' && tab != 'alerts') {
console.warn('chat tab "'+t+'" requested - but only "all", "faction" and "alerts" are valid - assuming "all" wanted');
console.warn('chat tab "'+tab+'" requested - but only "all", "faction" and "alerts" are valid - assuming "all" wanted');
tab = 'all';
}

View File

@ -6,18 +6,15 @@ window.show = function(id) {
runHooks("paneChanged", id);
switch(id) {
case 'full':
window.chat.show('full');
break;
case 'compact':
window.chat.show('compact');
break;
case 'public':
window.chat.show('public');
case 'all':
window.chat.show('all');
break;
case 'faction':
window.chat.show('faction');
break;
case 'alerts':
window.chat.show('alerts');
break;
case 'debug':
window.debug.console.show();
break;