Fixed the created_by auto save to current user if none is set at the creation of any new item. All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
2016-02-20 20:13:00 +02:00
parent 4e65696d40
commit 36d3a10ef8
2403 changed files with 490187 additions and 2072 deletions

View File

@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.1.0
@build 18th February, 2016
@build 20th February, 2016
@created 30th April, 2015
@package Component Builder
@subpackage template.js
@ -24,42 +24,42 @@
/-----------------------------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_zwbaKbKKXX_required = false;
jform_FliVHozDqy_required = false;
// Initial Script
jQuery(document).ready(function()
{
var add_php_view_zwbaKbK = jQuery("#jform_add_php_view input[type='radio']:checked").val();
zwbaKbK(add_php_view_zwbaKbK);
var add_php_view_FliVHoz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
FliVHoz(add_php_view_FliVHoz);
});
// the zwbaKbK function
function zwbaKbK(add_php_view_zwbaKbK)
// the FliVHoz function
function FliVHoz(add_php_view_FliVHoz)
{
// set the function logic
if (add_php_view_zwbaKbK == 1)
if (add_php_view_FliVHoz == 1)
{
jQuery('#jform_php_view').closest('.control-group').show();
if (jform_zwbaKbKKXX_required)
if (jform_FliVHozDqy_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_zwbaKbKKXX_required = false;
jform_FliVHozDqy_required = false;
}
}
else
{
jQuery('#jform_php_view').closest('.control-group').hide();
if (!jform_zwbaKbKKXX_required)
if (!jform_FliVHozDqy_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_zwbaKbKKXX_required = true;
jform_FliVHozDqy_required = true;
}
}
}