]>
jfr.im git - irc/quakenet/qwebirc.git/blob - js/ui/panes/about.js
cd0ec8b52c440bd2b9c9daff16a048d6e2c3988e
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
= qwebirc
.ui
.RequestTransformHTML({url: qwebirc
.global
.staticBaseURL
+ "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
);