]>
Commit | Line | Data |
---|---|---|
90ea6e5a CP |
1 | qwebirc.ui.AboutPane = new Class({ |
2 | Implements: [Events], | |
3 | initialize: function(parent) { | |
4 | parent.set("html", "<div class=\"loading\">Loading. . .</div>"); | |
66bf0806 | 5 | var r = new Request.HTML({url: "panes/about.html", update: parent, onSuccess: function() { |
90ea6e5a CP |
6 | parent.getElement("input[class=close]").addEvent("click", function() { |
7 | this.fireEvent("close"); | |
8 | }.bind(this)); | |
9 | parent.getElement("div[class=version]").set("text", "v" + qwebirc.VERSION); | |
10 | }.bind(this)}); | |
11 | r.get(); | |
12 | } | |
13 | }); |