]>
jfr.im git - irc/quakenet/qwebirc.git/blob - js/ui/panes/about.js
1 qwebirc
.ui
.AboutPane
= new Class({
3 initialize: function(parent
) {
4 var delayfn = function() { parent
.set("html", "<div class=\"loading\">Loading. . .</div>"); };
5 var cb
= delayfn
.delay(500);
7 var r
= new Request
.HTML({url: "panes/about.html", update: parent
, onSuccess: function() {
9 parent
.getElement("input[class=close]").addEvent("click", function() {
10 this.fireEvent("close");
12 parent
.getElement("div[class=version]").set("text", "v" + qwebirc
.VERSION
);