includes/clientside/static/acl.js
changeset 336 bfa2e9c23f03
parent 335 67bd3121a12e
child 345 4ccdfeee9a11
equal deleted inserted replaced
335:67bd3121a12e 336:bfa2e9c23f03
   469                 note.id = 'aclSuccessNotice_' + Math.floor(Math.random() * 100000);
   469                 note.id = 'aclSuccessNotice_' + Math.floor(Math.random() * 100000);
   470                 b = document.createElement('b');
   470                 b = document.createElement('b');
   471                 b.appendChild(document.createTextNode($lang.get('acl_lbl_delete_success_title')));
   471                 b.appendChild(document.createTextNode($lang.get('acl_lbl_delete_success_title')));
   472                 note.appendChild(b);
   472                 note.appendChild(b);
   473                 note.appendChild(document.createElement('br'));
   473                 note.appendChild(document.createElement('br'));
   474                 note.appendChild(document.createTextNode($lang.get('acl_lbl_delete_success_title', { target_name: aclDataCache.target_name })));
   474                 note.appendChild(document.createTextNode($lang.get('acl_lbl_delete_success_body', { target_name: aclDataCache.target_name })));
   475                 note.appendChild(document.createElement('br'));
   475                 note.appendChild(document.createElement('br'));
   476                 a = document.createElement('a');
   476                 a = document.createElement('a');
   477                 a.href = '#';
   477                 a.href = '#';
   478                 a.onclick = function() { opacity(this.parentNode.id, 100, 0, 1000); setTimeout('var div = document.getElementById("' + this.parentNode.id + '"); div.parentNode.removeChild(div);', 1100); return false; };
   478                 a.onclick = function() { opacity(this.parentNode.id, 100, 0, 1000); setTimeout('var div = document.getElementById("' + this.parentNode.id + '"); div.parentNode.removeChild(div);', 1100); return false; };
   479                 a.appendChild(document.createTextNode('[ ' + $lang.get('acl_btn_success_dismiss') + ' :'));
   479                 a.appendChild(document.createTextNode('[ ' + $lang.get('acl_btn_success_dismiss') + ' :'));