includes/clientside/static/acl.js
changeset 377 bb3e6c3bd4f4
parent 345 4ccdfeee9a11
child 407 35d94240a197
--- a/includes/clientside/static/acl.js	Sat Jan 26 11:51:19 2008 -0500
+++ b/includes/clientside/static/acl.js	Sat Jan 26 15:42:32 2008 -0500
@@ -435,12 +435,12 @@
             note.appendChild(document.createElement('br'));
             var a = document.createElement('a');
             a.href = '#';
-            a.onclick = function(e) { alert('ONCLICK'); return false; };
+            a.onclick = function(e) { this.parentNode.parentNode.removeChild(this.parentNode); return false; };
             a.appendChild(document.createTextNode('[ ' + $lang.get('acl_btn_success_dismiss') + ' :'));
             note.appendChild(a);
             var a2 = document.createElement('a');
             a2.href = '#';
-            a2.onclick = function(e) { alert('ONCLICK'); return false; };
+            a2.onclick = function(e) { killACLManager(); return false; };
             a2.appendChild(document.createTextNode(': ' + $lang.get('acl_btn_success_close') + ' ]'));
             note.appendChild(a2);
             document.getElementById(aclManagerID + '_main').insertBefore(note, document.getElementById(aclManagerID + '_main').firstChild);