// my vars (dec)
// set gobject values
+
+ //listeners
+ this.el.authenticate.connect( (auth) => {
+ var rs = RooTicket.singleton();
+ auth.authenticate(new WebKit.Credential(rs.username, rs.password,WebKit.CredentialPersistence.FOR_SESSION));
+ auth.ref();
+ return true;
+ });
}
// user defined functions
if (tid == "") {
_this.scrolled_window.el.hide();
- _this.el.resize(w, 300);
+ _this.el.resize(w, 150);
} else {
_this.scrolled_window.el.show();
_this.el.resize(w, 800);
}
- this.el.load_uri("http://www.google.com");
+ this.el.load_uri("https://roojs.com/admin.php/MTrack/View/" + tid);
}
}