Added (Linked To) back in related areas, so we can see where what is linked. Added ajax fields to the custom admin view. Added some backward compatibility to stylesheets and scripts being added, resolved gh-217. Fixed gh-212 no access lang string. Added the site CSS area to Joomla Component view resolved gh-216.

This commit is contained in:
2018-01-15 17:54:05 +02:00
parent 423df415fa
commit 98510ae504
144 changed files with 6453 additions and 5362 deletions

View File

@ -23,42 +23,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_vvvvvyuvyq_required = false;
jform_vvvvvywvys_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_vvvvvyu = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyu(add_php_view_vvvvvyu);
var add_php_view_vvvvvyw = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvyw(add_php_view_vvvvvyw);
});
// the vvvvvyu function
function vvvvvyu(add_php_view_vvvvvyu)
// the vvvvvyw function
function vvvvvyw(add_php_view_vvvvvyw)
{
// set the function logic
if (add_php_view_vvvvvyu == 1)
if (add_php_view_vvvvvyw == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_vvvvvyuvyq_required)
if (jform_vvvvvywvys_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_vvvvvyuvyq_required = false;
jform_vvvvvywvys_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_vvvvvyuvyq_required)
if (!jform_vvvvvywvys_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_vvvvvyuvyq_required = true;
jform_vvvvvywvys_required = true;
}
}
}