[ Index ] |
PHP Cross Reference of MyBB |
[Summary view] [Print] [Text view]
1 var AdminCP = { 2 init: function() 3 { 4 }, 5 6 deleteConfirmation: function(element, message) 7 { 8 if(!element) return false; 9 confirmReturn = confirm(message); 10 if(confirmReturn == true) 11 { 12 form = document.createElement("form"); 13 form.setAttribute("method", "post"); 14 form.setAttribute("action", element.href); 15 form.setAttribute("style", "display: none;"); 16 document.getElementsByTagName("body")[0].appendChild(form); 17 form.submit(); 18 } 19 return false; 20 } 21 }; 22 23 Event.observe(window, 'load', AdminCP.init);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Oct 8 19:19:50 2013 | Cross-referenced by PHPXref 0.7.1 |