Current Path :
/
home
/
develito
/
public_html
/
media
/
com_akeeba
/
js
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/public_html/media/com_akeeba/js/Upload.js
/** * @package akeebabackup * @copyright Copyright (c)2006-2023 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 3, or later */ // Object initialisation if (typeof akeeba === "undefined") { var akeeba = {}; } if (typeof akeeba.Upload === "undefined") { akeeba.Upload = {} } akeeba.Upload.autoSubmit = function () { var akeebaform = document.forms["akeebaform"]; if (!akeebaform) { return; } akeebaform.submit(); }; akeeba.Upload.autoClose = function () { var elMessage = document.getElementById("comAkeebaUploadDone"); // Only applies on the "done" layout if (elMessage === null) { return; } window.setTimeout(function () { parent.akeeba.System.modalDialog.modal("hide"); }, 3000); }; akeeba.Loader.add('akeeba.System', function () { // Auto-submit the form "akeebaform" in the default and uploading layouts akeeba.Upload.autoSubmit(); // Auto-close the window in the "done" layout akeeba.Upload.autoClose(); });