[ Index ]

PHP Cross Reference of MyBB 1.8.28

title

Body

[close]

/admin/jscripts/ -> admincp.js (source)

   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 = $("<form />", { method: "post", action: element.href, style: "display: none;" });
  13              $("body").append(form);
  14              form.trigger('submit');
  15          }
  16          return false;
  17      }
  18  };
  19  
  20  $(function()
  21  {
  22      AdminCP.init();
  23  });


2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref