All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
2016-02-20 22:20:23 +02:00
parent 36d3a10ef8
commit dea8ca3cae
2066 changed files with 1650 additions and 489426 deletions

View File

@ -24,42 +24,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_mLAQvUMcgr_required = false;
jform_VndZSVzKgm_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_mLAQvUM = jQuery("#jform_add_php_view input[type='radio']:checked").val();
mLAQvUM(add_php_view_mLAQvUM);
var add_php_view_VndZSVz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
VndZSVz(add_php_view_VndZSVz);
});
// the mLAQvUM function
function mLAQvUM(add_php_view_mLAQvUM)
// the VndZSVz function
function VndZSVz(add_php_view_VndZSVz)
{
// set the function logic
if (add_php_view_mLAQvUM == 1)
if (add_php_view_VndZSVz == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_mLAQvUMcgr_required)
if (jform_VndZSVzKgm_required)
{
updateFieldRequired('php_view',0);
jQuery('#jform_php_view').prop('required','required');
jQuery('#jform_php_view').attr('aria-required',true);
jQuery('#jform_php_view').addClass('required');
jform_mLAQvUMcgr_required = false;
jform_VndZSVzKgm_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_mLAQvUMcgr_required)
if (!jform_VndZSVzKgm_required)
{
updateFieldRequired('php_view',1);
jQuery('#jform_php_view').removeAttr('required');
jQuery('#jform_php_view').removeAttr('aria-required');
jQuery('#jform_php_view').removeClass('required');
jform_mLAQvUMcgr_required = true;
jform_VndZSVzKgm_required = true;
}
}
}