]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
IE fixes.
authorChris Porter <redacted>
Mon, 20 Oct 2008 18:10:56 +0000 (19:10 +0100)
committerChris Porter <redacted>
Mon, 20 Oct 2008 18:10:56 +0000 (19:10 +0100)
TODO.txt
js/ui/qui.js

index 4264e913976ba345a4735d761014c15ae1f145f9..556df81ed3a1d3036fc5f261b25345fccfd141d0 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -4,3 +4,4 @@ prettify wizard
 tab completion\r
 options for notices and stuff\r
 @+ in nick shown in text\r
+right click menus\r
index 967e57faf3ed77d3609ac3e72ce6cbbbf338145e..27df4f3a67032c7375172d3460283a4c6d478f0e 100644 (file)
@@ -196,7 +196,8 @@ qwebirc.ui.QUI.Window = new Class({
 
     this.tab = new Element("a", {"href": "#"});
     this.tab.addClass("tab");
-    this.tab.addEvent("focus", this.tab.blur);
+    this.tab.addEvent("focus", function() { this.blur() }.bind(this.tab));;
+    
     parentObject.tabs.appendChild(this.tab);
     
     this.tab.appendText(name);
@@ -283,7 +284,7 @@ qwebirc.ui.QUI.Window = new Class({
       this.client.exec("/QUERY " + e.realNick);
     }.bind(this));
     
-    e.addEvent("focus", e.blur);
+    e.addEvent("focus", function() { this.blur() }.bind(e));
     
     return e;
   },