]> jfr.im git - irc/quakenet/qwebirc.git/blob - js/ui/panes/privacypolicy.js
Move pane HTML into seperate subdirectory.
[irc/quakenet/qwebirc.git] / js / ui / panes / privacypolicy.js
1 qwebirc.ui.PrivacyPolicyPane = new Class({
2 Implements: [Events],
3 initialize: function(parent) {
4 parent.set("html", "<div class=\"loading\">Loading. . .</div>");
5 var r = new Request.HTML({url: "panes/privacypolicy.html", update: parent, onSuccess: function() {
6 parent.getElement("input[class=close]").addEvent("click", function() {
7 this.fireEvent("close");
8 }.bind(this));
9 }.bind(this)});
10 r.get();
11 }
12 });