Expanded the automatic DB update feature, to insure that any changes to a field name/datatype/lenght will now also create a DB update, resolve gh-241
This commit is contained in:
@@ -119,6 +119,7 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
|
||||
<?php $numberAddconditions = range(0, count($this->item->addconditions) + 3, 1);?>
|
||||
|
||||
// for the values already set
|
||||
|
@@ -703,7 +703,8 @@ jQuery('input.form-field-repeatable').on('row-add', function (e) {
|
||||
jQuery('#jform_custom_button_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
|
||||
});
|
||||
});
|
||||
<?php endforeach; ?><?php $numberAddtables = range(0, count($this->item->addtables) + 3, 1);?>
|
||||
<?php endforeach; ?>
|
||||
<?php $numberAddtables = range(0, count($this->item->addtables) + 3, 1);?>
|
||||
|
||||
// for the values already set
|
||||
jQuery(document).ready(function(){
|
||||
|
@@ -355,7 +355,8 @@ jQuery('input.form-field-repeatable').on('row-add', function (e) {
|
||||
jQuery('#jform_custom_button_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
|
||||
});
|
||||
});
|
||||
<?php endforeach; ?>jQuery(function() {
|
||||
<?php endforeach; ?>
|
||||
jQuery(function() {
|
||||
jQuery("code").click(function() {
|
||||
jQuery(this).selText().addClass("selected");
|
||||
});
|
||||
|
@@ -226,6 +226,7 @@ jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
});
|
||||
|
||||
|
||||
|
||||
jQuery('#adminForm').on('change', '#jform_function_name',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
|
@@ -620,6 +620,7 @@ jQuery('#adminForm').on('change', '#jform_add_php_router_parse',function (e)
|
||||
});
|
||||
|
||||
|
||||
|
||||
<?php $fieldNrs = range(0,50,1); ?>
|
||||
<?php $fieldNames = array('db' => 'Db','view' => 'View'); ?>
|
||||
// for the vlaues already set
|
||||
|
@@ -292,6 +292,7 @@ jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function
|
||||
});
|
||||
|
||||
|
||||
|
||||
jQuery(function() {
|
||||
jQuery("code").click(function() {
|
||||
jQuery(this).selText().addClass("selected");
|
||||
|
@@ -745,6 +745,7 @@ jQuery('#adminForm').on('change', '#jform_dashboard_type',function (e)
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$app = JFactory::getApplication();
|
||||
?>
|
||||
|
@@ -119,6 +119,7 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
|
||||
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$app = JFactory::getApplication();
|
||||
?>
|
||||
|
@@ -160,7 +160,8 @@ jQuery(function() {
|
||||
jQuery('#open-libraries').html('<a href="index.php?option=com_componentbuilder&view=libraries"><?php echo JText::_('COM_COMPONENTBUILDER_LIBRARIES'); ?></a>');
|
||||
});
|
||||
jQuery('#jform_snippet').closest('.input-append').addClass('jform_snippet_input_width');
|
||||
jQuery('#jform_dynamic_get').closest('.input-append').addClass('jform_dynamic_get_input_width');jQuery(function() {
|
||||
jQuery('#jform_dynamic_get').closest('.input-append').addClass('jform_dynamic_get_input_width');
|
||||
jQuery(function() {
|
||||
jQuery("code").click(function() {
|
||||
jQuery(this).selText().addClass("selected");
|
||||
});
|
||||
|
@@ -278,6 +278,7 @@ jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
});
|
||||
|
||||
|
||||
|
||||
<?php $numberAddconditions = range(0, count($this->item->addconditions) + 3, 1);?>
|
||||
|
||||
// for the values already set
|
||||
|
@@ -373,7 +373,8 @@ jQuery('input.form-field-repeatable').on('row-add', function (e) {
|
||||
jQuery('#jform_custom_button_fields_icomoon_<?php echo $nr; ?>_chzn').closest("td").append(span);
|
||||
});
|
||||
});
|
||||
<?php endforeach; ?>jQuery(function() {
|
||||
<?php endforeach; ?>
|
||||
jQuery(function() {
|
||||
jQuery("code").click(function() {
|
||||
jQuery(this).selText().addClass("selected");
|
||||
});
|
||||
|
@@ -160,7 +160,8 @@ jQuery(function() {
|
||||
jQuery('#open-libraries').html('<a href="index.php?option=com_componentbuilder&view=libraries"><?php echo JText::_('COM_COMPONENTBUILDER_LIBRARIES'); ?></a>');
|
||||
});
|
||||
jQuery('#jform_snippet').closest('.input-append').addClass('jform_snippet_input_width');
|
||||
jQuery('#jform_dynamic_get').closest('.input-append').addClass('jform_dynamic_get_input_width');jQuery(function() {
|
||||
jQuery('#jform_dynamic_get').closest('.input-append').addClass('jform_dynamic_get_input_width');
|
||||
jQuery(function() {
|
||||
jQuery("code").click(function() {
|
||||
jQuery(this).selText().addClass("selected");
|
||||
});
|
||||
|
Reference in New Issue
Block a user