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

11 lines
865 B
PHP
Raw Normal View History

2022-03-11 16:09:43 +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 CC Attribution-NonCommercial-NoDerivatives 4.0 International
2022-03-11 16:09:43 +01:00
* @link http://zwiicms.fr/
*/
2022-10-01 16:44:23 +02:00
$(document).ready((function(){$("input[name=fontEditFontImported]").is(":checked")&&($("#containerfontEditFile").hide(),$("#containerfontEditUrl").show(),$("#fontEditFontFileWrapper").hide(),$("input[name=fontEditFontImported]").attr("disabled","disabled")),$("input[name=fontEditFontFile]").is(":checked")&&($("#containerfontEditFile").show(),$("#containerfontEditUrl").hide(),$("#fontEditFontImportedWrapper").hide(),$("input[name=fontEditFontFile]").attr("disabled","disabled"))}));