impoved the request linking options, fixed few bugs in compiler (#52)

This commit is contained in:
dev
2017-03-08 06:49:54 +02:00
committed by GitHub
parent 30e37dcfde
commit 3953df845c
228 changed files with 1268 additions and 1019 deletions

View File

@ -23,7 +23,7 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvyqvyq_required = false;
jform_vvvvvyqvys_required = false;
// Initial Script
jQuery(document).ready(function()
@ -39,26 +39,26 @@ function vvvvvyq(add_php_view_vvvvvyq)
if (add_php_view_vvvvvyq == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvyqvyq_required)
if (jform_vvvvvyqvys_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_vvvvvyqvyq_required = false;
jform_vvvvvyqvys_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvyqvyq_required)
if (!jform_vvvvvyqvys_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_vvvvvyqvyq_required = true;
jform_vvvvvyqvys_required = true;
}
}
}