forked from ZwiiCMS-Team/ZwiiCMS
avertissement backup et (restore à terminer)
This commit is contained in:
parent
12e21a3067
commit
3cd1f633ed
@ -36,5 +36,14 @@ $( document).ready(function() {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Avertissement de sauvegarde complète
|
||||
*/
|
||||
$("#configBackupSubmit").click(function(event) {
|
||||
if( core.alert("Une sauvegarde complète pourra prendre du temps, merci de patienter.") ) {
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
26
core/module/config/view/restore/restore.js.php
Normal file
26
core/module/config/view/restore/restore.js.php
Normal file
@ -0,0 +1,26 @@
|
||||
/**
|
||||
* This file is part of Zwii.
|
||||
*
|
||||
* For full copyright and license information, please see the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||
* @copyright Copyright (C) 2018-2021, Frédéric Tempez
|
||||
* @license GNU General Public License, version 3
|
||||
* @link http://zwiicms.fr/
|
||||
*/
|
||||
|
||||
$( document).ready(function() {
|
||||
|
||||
$('body').css('cursor', 'default');
|
||||
|
||||
/**
|
||||
* Avertissement de restauration
|
||||
*/
|
||||
$("#configRestoreSubmit").click(function(event) {
|
||||
if( core.alert("Une restauration complète pourra prendre du temps, merci de patienter.") )
|
||||
event.preventDefault();
|
||||
$('body').css('cursor', 'wait');
|
||||
});
|
||||
|
||||
});
|
Loading…
Reference in New Issue
Block a user