芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.2/com_fields/js/admin-field-edit-es5.js
(function () { 'use strict'; /** * @copyright (C) 2018 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt */ document.addEventListener('DOMContentLoaded', function () { var title = document.getElementById('jform_title'); title.dpOldValue = title.value; title.addEventListener('change', function (_ref) { var currentTarget = _ref.currentTarget; var label = document.getElementById('jform_label'); var changedTitle = currentTarget; if (changedTitle.dpOldValue === label.value) { label.value = changedTitle.value; } changedTitle.dpOldValue = changedTitle.value; }); }); }());