faqWindow: function() {
this.addCustomWindow("FAQ", qwebirc.ui.FAQPane, "faqpane", this.uiOptions);
},
- urlDispatcher: function(name) {
+ urlDispatcher: function(name, window) {
if(name == "embedded")
return ["a", this.embeddedWindow.bind(this)];
this.client.exec("/MSG Q whois #" + auth);
}.bind(window)];
}
- return this.parent(name);
+ return this.parent(name, window);
},
logout: function() {
if(!qwebirc.auth.loggedin())
}
}
});
+
+qwebirc.ui.RootUI = qwebirc.ui.QuakeNetUI;
qwebirc.ui.MochaUI = new Class({
- Extends: qwebirc.ui.NewLoginUI,
+ Extends: qwebirc.ui.RootUI,
initialize: function(parentElement, theme, options) {
this.parent(parentElement, qwebirc.ui.MochaUI.Window, "mochaui");
this.theme = theme;
qwebirc.ui.QUI = new Class({
- Extends: qwebirc.ui.NewLoginUI,
+ Extends: qwebirc.ui.RootUI,
initialize: function(parentElement, theme, options) {
this.parent(parentElement, qwebirc.ui.QUI.Window, "qui", options);
this.theme = theme;
qwebirc.ui.SWMUI = new Class({
- Extends: qwebirc.ui.NewLoginUI,
+ Extends: qwebirc.ui.RootUI,
initialize: function(parentElement, theme, options) {
this.parent(parentElement, qwebirc.ui.SWMUI.Window, "swmui", options);
qwebirc.ui.UglyUI = new Class({
- Extends: qwebirc.ui.NewLoginUI,
+ Extends: qwebirc.ui.RootUI,
initialize: function(parentElement, theme, options) {
this.parent(parentElement, qwebirc.ui.UglyUI.Window, "uglyui", options);
this.theme = theme;