mirror of
https://github.com/SWG-Source/auth-site.git
synced 2026-10-17 07:03:16 -04:00
initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
var AdminCP = {
|
||||
init: function()
|
||||
{
|
||||
},
|
||||
|
||||
deleteConfirmation: function(element, message)
|
||||
{
|
||||
if(!element) return false;
|
||||
confirmReturn = confirm(message);
|
||||
if(confirmReturn == true)
|
||||
{
|
||||
form = $("<form />", { method: "post", action: element.href, style: "display: none;" });
|
||||
$("body").append(form);
|
||||
form.submit();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
$(function()
|
||||
{
|
||||
AdminCP.init();
|
||||
});
|
||||
Reference in New Issue
Block a user