Release of v3.2.3-beta3
Keep jQuery in dynamicGet area for Joomla 3.
This commit is contained in:
@@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
||||
|
||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
||||
|
||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.3-beta2) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (3.2.3-beta3) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||
|
||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||
|
||||
@@ -145,10 +145,10 @@ TODO
|
||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 1st August, 2024
|
||||
+ *Version*: 3.2.3-beta2
|
||||
+ *Version*: 3.2.3-beta3
|
||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **799949**
|
||||
+ *Line count*: **799947**
|
||||
+ *Field count*: **2093**
|
||||
+ *File count*: **5508**
|
||||
+ *Folder count*: **482**
|
||||
|
@@ -641,47 +641,44 @@ jQuery('#adminForm').on('change', '#jform_gettype',function (e)
|
||||
|
||||
|
||||
|
||||
<?php $fieldNrs = range(0, 50, 1); ?>
|
||||
<?php $fieldNames = array('db' => 'Db', 'view' => 'View'); ?>
|
||||
<?php $fieldNrs = range(0,50,1); ?>
|
||||
<?php $fieldNames = array('db' => 'Db','view' => 'View'); ?>
|
||||
// for the vlaues already set
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
<?php foreach($fieldNames as $fieldName => $funcName): ?>
|
||||
<?php foreach($fieldNrs as $fieldNr): ?>
|
||||
updateSubItems('<?php echo $fieldName ?>', <?php echo $fieldNr ?>, '_', '_');
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
jQuery(document).ready(function(){
|
||||
<?php foreach($fieldNames as $fieldName => $funcName): ?>
|
||||
<?php foreach($fieldNrs as $fieldNr): ?>
|
||||
updateSubItems('<?php echo $fieldName ?>', <?php echo $fieldNr ?>, '_', '_');
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
});
|
||||
// for the values the will still be set
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
document.addEventListener('subform-row-add', function(event) {
|
||||
var row = event.detail.row;
|
||||
var groupName = row.getAttribute('data-group');
|
||||
var fieldName = groupName.replace('join_', '').replace('_table', '').replace(/([0-9])/g, '');
|
||||
var fieldNr = groupName.replace(/([A-z_])/g, '');
|
||||
updateSubItems(fieldName, fieldNr, '_', '_');
|
||||
});
|
||||
});
|
||||
jQuery(document).ready(function(){
|
||||
jQuery(document).on('subform-row-add', function(event, row){
|
||||
var groupName = jQuery(row).data('group');
|
||||
var fieldName = groupName.replace('join_', '').replace('_table', '').replace(/([0-9])/g, '');
|
||||
var fieldNr = groupName.replace(/([A-z_])/g, '');
|
||||
updateSubItems(fieldName, fieldNr, '_', '_');
|
||||
});
|
||||
|
||||
<?php foreach($fieldNames as $fieldName => $funcName): ?>
|
||||
document.getElementById('adminForm').addEventListener('change', function(e) {
|
||||
if (e.target && e.target.id === 'jform_<?php echo $fieldName ?>_table_main') {
|
||||
let value_<?php echo $fieldName ?> = e.target.options[e.target.selectedIndex].value;
|
||||
get<?php echo $funcName; ?>TableColumns(value_<?php echo $fieldName ?>, 'a', '<?php echo $fieldName ?>', 3, true, '', '');
|
||||
}
|
||||
});
|
||||
<?php foreach($fieldNames as $fieldName => $funcName): ?>jQuery('#adminForm').on('change', '#jform_<?php echo $fieldName ?>_table_main',function (e) {
|
||||
// get options
|
||||
var value_<?php echo $fieldName ?> = jQuery("#jform_<?php echo $fieldName ?>_table_main option:selected").val();
|
||||
get<?php echo $funcName; ?>TableColumns(value_<?php echo $fieldName ?>, 'a', '<?php echo $fieldName ?>', 3, true, '', '');
|
||||
});
|
||||
<?php endforeach; ?>
|
||||
|
||||
document.getElementById('jform_add_php_router_parse').addEventListener('change', function() {
|
||||
var valueSwitch = document.querySelector("#jform_add_php_router_parse input[type='radio']:checked").value;
|
||||
getDynamicScripts(valueSwitch);
|
||||
// #jform_add_php_router_parse listeners
|
||||
jQuery('#jform_add_php_router_parse').on('change',function() {
|
||||
var valueSwitch = jQuery("#jform_add_php_router_parse input[type='radio']:checked").val();
|
||||
getDynamicScripts(valueSwitch);
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_select_all',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
// get the selected value
|
||||
var select_all = jQuery("#jform_select_all input[type='radio']:checked").val();
|
||||
setSelectAll(select_all);
|
||||
|
||||
document.getElementById('adminForm').addEventListener('change', function(e) {
|
||||
if (e.target && e.target.matches('#jform_select_all input[type="radio"]')) {
|
||||
e.preventDefault();
|
||||
var selectAll = e.target.value;
|
||||
setSelectAll(selectAll);
|
||||
}
|
||||
});
|
||||
|
||||
<?php
|
||||
|
Reference in New Issue
Block a user