Fixed a method from public to protected status error. All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
2016-02-26 14:46:15 +02:00
parent fa199947d2
commit 2ecf186846
62 changed files with 1766 additions and 1766 deletions

View File

@ -24,42 +24,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_ivZgqtNCQG_required = false;
jform_yaSbwWTZmj_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_ivZgqtN = jQuery("#jform_add_php_view input[type='radio']:checked").val();
ivZgqtN(add_php_view_ivZgqtN);
var add_php_view_yaSbwWT = jQuery("#jform_add_php_view input[type='radio']:checked").val();
yaSbwWT(add_php_view_yaSbwWT);
});
// the ivZgqtN function
function ivZgqtN(add_php_view_ivZgqtN)
// the yaSbwWT function
function yaSbwWT(add_php_view_yaSbwWT)
{
// set the function logic
if (add_php_view_ivZgqtN == 1)
if (add_php_view_yaSbwWT == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_ivZgqtNCQG_required)
if (jform_yaSbwWTZmj_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_ivZgqtNCQG_required = false;
jform_yaSbwWTZmj_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_ivZgqtNCQG_required)
if (!jform_yaSbwWTZmj_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_ivZgqtNCQG_required = true;
jform_yaSbwWTZmj_required = true;
}
}
}