]>
jfr.im git - irc/quakenet/qwebirc.git/blob - js/ui/panes/privacypolicy.js
1 qwebirc
.ui
.PrivacyPolicyPane
= 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/privacypolicy.html", update: parent
, onSuccess: function() {
10 parent
.getElement("input[class=close]").addEvent("click", function() {
11 this.fireEvent("close");