ZwiiCMS/core/module/theme/view/fonts/fonts.js.php

21 lines
613 B
PHP
Raw Normal View History

2022-02-08 17:00:08 +01:00
/**
* 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-2022, Frédéric Tempez
* @license GNU General Public License, version 3
* @link http://zwiicms.fr/
*/
/**
* Confirmation de suppression
*/
2022-09-29 08:45:59 +02:00
$(".themeFontDelete").on("click", function () {
2022-02-08 17:00:08 +01:00
var _this = $(this);
2022-09-29 08:45:59 +02:00
return core.confirm("Êtes-vous sûr de vouloir supprimer cette fonte ?", function () {
2022-02-08 17:00:08 +01:00
$(location).attr("href", _this.attr("href"));
});
});