]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/baseui.js
Fix UI type hierarchy regression.
[irc/quakenet/qwebirc.git] / js / ui / baseui.js
index cac20c241d752c7f0c2e23a2d824843627b7ecc0..a61da847a4c67b9609d0a4f243452d6b9247fc2f 100644 (file)
@@ -277,7 +277,7 @@ qwebirc.ui.StandardUI = new Class({
   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)];
       
@@ -360,7 +360,7 @@ qwebirc.ui.QuakeNetUI = new Class({
         this.client.exec("/MSG Q whois #" + auth);
       }.bind(window)];
     }
-    return this.parent(name);
+    return this.parent(name, window);
   },
   logout: function() {
     if(!qwebirc.auth.loggedin())
@@ -376,3 +376,5 @@ qwebirc.ui.QuakeNetUI = new Class({
     }
   }
 });
+
+qwebirc.ui.RootUI = qwebirc.ui.QuakeNetUI;