New command /debug extractteams

I'm considering adding more commands like these to debug client
issues.
This commit is contained in:
Guangcong Luo 2015-07-22 22:32:16 -04:00
parent c5fd102c93
commit 57946a918a

View File

@ -516,6 +516,15 @@
openUser(target);
return false;
case 'debug':
if (target === 'extractteams') {
app.addPopup(Popup, {
type: 'modal',
htmlMessage: "Extracted team data:<br /><textarea rows=\"10\" cols=\"60\">" + Tools.escapeHTML(JSON.stringify(Storage.teams)) + "</textarea>"
});
}
return false;
case 'autojoin':
case 'cmd':
case 'query':