Content deleted Content added
test |
m test |
||
Line 19:
if (wgUserGroups[i] == 'sysop') iAmSysop = true;
}
if ((iAmSysop == false) || (wgNamespaceNumber == 10)) { return false; // do nothing!
} else {
//
// launch controller.
this.control = new csdH_controller;
Line 32:
function csdH_controller() {
csdHController = this;
this.showcsdHWindow() = function() {
// grab position of button
var offset = document.getElementById('ca-decline').offsetLeft;
// build window to show user
var interface = new wa_window();
interface.win_left = offset;
interface.win_width = 150;
interface.win_height = 100;
}
this.attachLinks = function() {
this.csdHelperLink = new wa_element('li');
this.csdHelperLink.ele_obj.id = 'ca-decline';
this.csdHelperLink.ele_obj.innerHTML = '<a href="#" title="decline speedy">
this.csdHelperLink.attach(document.getElementById('ca-move'), 'before');
|