Refactoring the compiler class has started. All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
2016-02-26 02:20:09 +02:00
parent dea8ca3cae
commit fa199947d2
373 changed files with 20132 additions and 19426 deletions

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.0
@build 20th February, 2016
@build 26th February, 2016
@created 30th April, 2015
@package Component Builder
@subpackage layout.js
@ -24,42 +24,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_VndZSVzKgm_required = false;
jform_CGkCBIKJoE_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_VndZSVz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
VndZSVz(add_php_view_VndZSVz);
var add_php_view_CGkCBIK = jQuery("#jform_add_php_view input[type='radio']:checked").val();
CGkCBIK(add_php_view_CGkCBIK);
});
// the VndZSVz function
function VndZSVz(add_php_view_VndZSVz)
// the CGkCBIK function
function CGkCBIK(add_php_view_CGkCBIK)
{
// set the function logic
if (add_php_view_VndZSVz == 1)
if (add_php_view_CGkCBIK == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_VndZSVzKgm_required)
if (jform_CGkCBIKJoE_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_VndZSVzKgm_required = false;
jform_CGkCBIKJoE_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_VndZSVzKgm_required)
if (!jform_CGkCBIKJoE_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_VndZSVzKgm_required = true;
jform_CGkCBIKJoE_required = true;
}
}
}