Release of v6.1.6-alpha1
Add Health Check buttons to the JCB Compiler and Component list view to verify system PHP configuration. Add the Toolbar Custom Buttons subform to the Global Subform settings for improved usability and presentation. Fix the Field edit view to ensure full compliance with Joomla 6 standards and updated UI/UX conventions. Begin migration from UIkit to Bootstrap 5 to align JCB with Joomla 6+ standards. Complete Bootstrap 5 refactor of all primary views and core UI. Continue phased removal of UIkit with full transition planned for upcoming releases. Fix deprecated JText usage in Admin Custom Tabs area for Joomla 5+ compatibility. #1302.
This commit is contained in:
125 files changed
+5752
-12160
No files matched your search
@@ -215,42 +215,42 @@ jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
|
||||
|
||||
|
||||
jQuery('#adminForm').on('change', '#jform_function_name',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
if (target == 2) {
|
||||
jQuery('#usedin').show();
|
||||
var functioName = jQuery('#jform_function_name').val();
|
||||
// check if this function name is taken
|
||||
checkFunctionName(functioName);
|
||||
} else {
|
||||
jQuery('#usedin').hide();
|
||||
document.getElementById('adminForm').addEventListener('change', function (e) {
|
||||
var el = e.target;
|
||||
|
||||
if (el.closest('#jform_function_name')) {
|
||||
var target = document.querySelector('#jform_target input[type="radio"]:checked');
|
||||
if (target && target.value == 2) {
|
||||
document.getElementById('usedin').style.display = '';
|
||||
var functioName = document.getElementById('jform_function_name').value;
|
||||
// check if this function name is taken
|
||||
checkFunctionName(functioName);
|
||||
} else {
|
||||
document.getElementById('usedin').style.display = 'none';
|
||||
}
|
||||
}
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
if (target == 2) {
|
||||
jQuery('#usedin').show();
|
||||
var functioName = jQuery('#jform_function_name').val();
|
||||
// check if this function name is taken
|
||||
checkFunctionName(functioName);
|
||||
} else {
|
||||
jQuery('#usedin').hide();
|
||||
|
||||
if (el.closest('#jform_target')) {
|
||||
var target = document.querySelector('#jform_target input[type="radio"]:checked');
|
||||
if (target && target.value == 2) {
|
||||
document.getElementById('usedin').style.display = '';
|
||||
var functioName = document.getElementById('jform_function_name').value;
|
||||
// check if this function name is taken
|
||||
checkFunctionName(functioName);
|
||||
} else {
|
||||
document.getElementById('usedin').style.display = 'none';
|
||||
}
|
||||
}
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_comment_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type = jQuery("#jform_comment_type input[type='radio']:checked").val();
|
||||
if (type == 2) {
|
||||
jQuery('#html-comment-info').show();
|
||||
jQuery('#phpjs-comment-info').hide();
|
||||
} else {
|
||||
jQuery('#html-comment-info').hide();
|
||||
jQuery('#phpjs-comment-info').show();
|
||||
|
||||
if (el.closest('#jform_comment_type')) {
|
||||
var type = document.querySelector('#jform_comment_type input[type="radio"]:checked');
|
||||
if (type && type.value == 2) {
|
||||
document.getElementById('html-comment-info').style.display = '';
|
||||
document.getElementById('phpjs-comment-info').style.display = 'none';
|
||||
} else {
|
||||
document.getElementById('html-comment-info').style.display = 'none';
|
||||
document.getElementById('phpjs-comment-info').style.display = '';
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user