diff -r c72b545f1304 -r 67bd3121a12e includes/clientside/static/acl.js --- a/includes/clientside/static/acl.js Wed Dec 26 00:37:26 2007 -0500 +++ b/includes/clientside/static/acl.js Thu Dec 27 22:09:33 2007 -0500 @@ -49,7 +49,7 @@ aclDataCache = groups; __aclBuildSelector(groups); } - }); + }, true); return false; } @@ -84,7 +84,7 @@ groups.namespace = thispage[1]; __aclBuildSelector(groups); } - }); + }, true); } function __aclBuildSelector(groups) @@ -426,13 +426,13 @@ note.appendChild(document.createTextNode($lang.get('acl_lbl_save_success_body', { target_name: data.target_name }))); note.appendChild(document.createElement('br')); var a = document.createElement('a'); - a.href = 'javascript:void(0);'; - a.onclick = function() { this.parentNode.parentNode.removeChild(this.parentNode); return false; }; + a.href = '#'; + a.onclick = function(e) { alert('ONCLICK'); return false; }; a.appendChild(document.createTextNode('[ ' + $lang.get('acl_btn_success_dismiss') + ' :')); note.appendChild(a); var a2 = document.createElement('a'); - a2.href = 'javascript:void(0);'; - a2.onclick = function() { killACLManager(); return false; }; + a2.href = '#'; + a2.onclick = function(e) { alert('ONCLICK'); 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); @@ -487,7 +487,7 @@ //fadeInfoBoxes(); } - }); + }, true); break; case 'error': @@ -501,7 +501,7 @@ break; } } - }); + }, true); } function __aclBuildGroupsHTML(groups)