Extends: qwebirc.ui.BaseUI,
initialize: function(parentElement, windowClass, uiName, options) {
this.parent(parentElement, windowClass, uiName, options);
+
+ this.tabCompleter = new qwebirc.ui.TabCompleterFactory(this);
+
window.addEvent("keydown", function(x) {
if(!x.alt || x.control)
return;
this.embedded = null;
}.bind(this));
+ this.embedded.lines.addClass("embeddedwizard");
var ew = new qwebirc.ui.EmbedWizard({parent: this.embedded.lines});
ew.addEvent("close", function() {
this.embedded.close();
return ["a", this.embeddedWindow.bind(this)];
return null;
+ },
+ tabComplete: function(element) {
+ this.tabCompleter.tabComplete(element);
+ },
+ resetTabComplete: function() {
+ this.tabCompleter.reset();
}
});
Extends: qwebirc.ui.StandardUI,
urlDispatcher: function(name, window) {
if(name == "qwhois") {
- return ["a", function(auth) {
+ return ["span", function(auth) {
this.client.exec("/MSG Q whois #" + auth);
}.bind(window)];
}