All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
Llewellyn van der Merwe 2016-02-21 02:36:34 +02:00
parent 0874ade317
commit 9c66120ccf
4 changed files with 132 additions and 132 deletions

View File

@ -18,38 +18,38 @@
/------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_XQcngFHlfz_required = false;
jform_HIJAxdnGdL_required = false;
jform_NfMtkmlVAg_required = false;
jform_zyWCHchiml_required = false;
jform_rFatqiXZFW_required = false;
jform_HAWbtQeCUi_required = false;
jform_OpisjiAVIQ_required = false;
jform_dZCesMspHY_required = false;
// Initial Script
jQuery(document).ready(function()
{
var location_iapdbbz = jQuery("#jform_location input[type='radio']:checked").val();
iapdbbz(location_iapdbbz);
var location_befnCXD = jQuery("#jform_location input[type='radio']:checked").val();
befnCXD(location_befnCXD);
var location_fHWHgTv = jQuery("#jform_location input[type='radio']:checked").val();
fHWHgTv(location_fHWHgTv);
var location_RcmOskk = jQuery("#jform_location input[type='radio']:checked").val();
RcmOskk(location_RcmOskk);
var type_XQcngFH = jQuery("#jform_type").val();
XQcngFH(type_XQcngFH);
var type_rFatqiX = jQuery("#jform_type").val();
rFatqiX(type_rFatqiX);
var type_HIJAxdn = jQuery("#jform_type").val();
HIJAxdn(type_HIJAxdn);
var type_HAWbtQe = jQuery("#jform_type").val();
HAWbtQe(type_HAWbtQe);
var type_NfMtkml = jQuery("#jform_type").val();
NfMtkml(type_NfMtkml);
var type_OpisjiA = jQuery("#jform_type").val();
OpisjiA(type_OpisjiA);
var target_zyWCHch = jQuery("#jform_target input[type='radio']:checked").val();
zyWCHch(target_zyWCHch);
var target_dZCesMs = jQuery("#jform_target input[type='radio']:checked").val();
dZCesMs(target_dZCesMs);
});
// the iapdbbz function
function iapdbbz(location_iapdbbz)
// the befnCXD function
function befnCXD(location_befnCXD)
{
// set the function logic
if (location_iapdbbz == 1)
if (location_befnCXD == 1)
{
jQuery('#jform_admin_view').closest('.control-group').show();
}
@ -59,11 +59,11 @@ function iapdbbz(location_iapdbbz)
}
}
// the fHWHgTv function
function fHWHgTv(location_fHWHgTv)
// the RcmOskk function
function RcmOskk(location_RcmOskk)
{
// set the function logic
if (location_fHWHgTv == 2)
if (location_RcmOskk == 2)
{
jQuery('#jform_site_view').closest('.control-group').show();
}
@ -73,198 +73,198 @@ function fHWHgTv(location_fHWHgTv)
}
}
// the XQcngFH function
function XQcngFH(type_XQcngFH)
// the rFatqiX function
function rFatqiX(type_rFatqiX)
{
if (isSet(type_XQcngFH) && type_XQcngFH.constructor !== Array)
if (isSet(type_rFatqiX) && type_rFatqiX.constructor !== Array)
{
var temp_XQcngFH = type_XQcngFH;
var type_XQcngFH = [];
type_XQcngFH.push(temp_XQcngFH);
var temp_rFatqiX = type_rFatqiX;
var type_rFatqiX = [];
type_rFatqiX.push(temp_rFatqiX);
}
else if (!isSet(type_XQcngFH))
else if (!isSet(type_rFatqiX))
{
var type_XQcngFH = [];
var type_rFatqiX = [];
}
var type = type_XQcngFH.some(type_XQcngFH_SomeFunc);
var type = type_rFatqiX.some(type_rFatqiX_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_url').closest('.control-group').show();
if (jform_XQcngFHlfz_required)
if (jform_rFatqiXZFW_required)
{
updateFieldRequired('url',0);
jQuery('#jform_url').prop('required','required');
jQuery('#jform_url').attr('aria-required',true);
jQuery('#jform_url').addClass('required');
jform_XQcngFHlfz_required = false;
jform_rFatqiXZFW_required = false;
}
}
else
{
jQuery('#jform_url').closest('.control-group').hide();
if (!jform_XQcngFHlfz_required)
if (!jform_rFatqiXZFW_required)
{
updateFieldRequired('url',1);
jQuery('#jform_url').removeAttr('required');
jQuery('#jform_url').removeAttr('aria-required');
jQuery('#jform_url').removeClass('required');
jform_XQcngFHlfz_required = true;
jform_rFatqiXZFW_required = true;
}
}
}
// the XQcngFH Some function
function type_XQcngFH_SomeFunc(type_XQcngFH)
// the rFatqiX Some function
function type_rFatqiX_SomeFunc(type_rFatqiX)
{
// set the function logic
if (type_XQcngFH == 3)
if (type_rFatqiX == 3)
{
return true;
}
return false;
}
// the HIJAxdn function
function HIJAxdn(type_HIJAxdn)
// the HAWbtQe function
function HAWbtQe(type_HAWbtQe)
{
if (isSet(type_HIJAxdn) && type_HIJAxdn.constructor !== Array)
if (isSet(type_HAWbtQe) && type_HAWbtQe.constructor !== Array)
{
var temp_HIJAxdn = type_HIJAxdn;
var type_HIJAxdn = [];
type_HIJAxdn.push(temp_HIJAxdn);
var temp_HAWbtQe = type_HAWbtQe;
var type_HAWbtQe = [];
type_HAWbtQe.push(temp_HAWbtQe);
}
else if (!isSet(type_HIJAxdn))
else if (!isSet(type_HAWbtQe))
{
var type_HIJAxdn = [];
var type_HAWbtQe = [];
}
var type = type_HIJAxdn.some(type_HIJAxdn_SomeFunc);
var type = type_HAWbtQe.some(type_HAWbtQe_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_article').closest('.control-group').show();
if (jform_HIJAxdnGdL_required)
if (jform_HAWbtQeCUi_required)
{
updateFieldRequired('article',0);
jQuery('#jform_article').prop('required','required');
jQuery('#jform_article').attr('aria-required',true);
jQuery('#jform_article').addClass('required');
jform_HIJAxdnGdL_required = false;
jform_HAWbtQeCUi_required = false;
}
}
else
{
jQuery('#jform_article').closest('.control-group').hide();
if (!jform_HIJAxdnGdL_required)
if (!jform_HAWbtQeCUi_required)
{
updateFieldRequired('article',1);
jQuery('#jform_article').removeAttr('required');
jQuery('#jform_article').removeAttr('aria-required');
jQuery('#jform_article').removeClass('required');
jform_HIJAxdnGdL_required = true;
jform_HAWbtQeCUi_required = true;
}
}
}
// the HIJAxdn Some function
function type_HIJAxdn_SomeFunc(type_HIJAxdn)
// the HAWbtQe Some function
function type_HAWbtQe_SomeFunc(type_HAWbtQe)
{
// set the function logic
if (type_HIJAxdn == 1)
if (type_HAWbtQe == 1)
{
return true;
}
return false;
}
// the NfMtkml function
function NfMtkml(type_NfMtkml)
// the OpisjiA function
function OpisjiA(type_OpisjiA)
{
if (isSet(type_NfMtkml) && type_NfMtkml.constructor !== Array)
if (isSet(type_OpisjiA) && type_OpisjiA.constructor !== Array)
{
var temp_NfMtkml = type_NfMtkml;
var type_NfMtkml = [];
type_NfMtkml.push(temp_NfMtkml);
var temp_OpisjiA = type_OpisjiA;
var type_OpisjiA = [];
type_OpisjiA.push(temp_OpisjiA);
}
else if (!isSet(type_NfMtkml))
else if (!isSet(type_OpisjiA))
{
var type_NfMtkml = [];
var type_OpisjiA = [];
}
var type = type_NfMtkml.some(type_NfMtkml_SomeFunc);
var type = type_OpisjiA.some(type_OpisjiA_SomeFunc);
// set this function logic
if (type)
{
jQuery('#jform_content-lbl').closest('.control-group').show();
if (jform_NfMtkmlVAg_required)
if (jform_OpisjiAVIQ_required)
{
updateFieldRequired('content',0);
jQuery('#jform_content').prop('required','required');
jQuery('#jform_content').attr('aria-required',true);
jQuery('#jform_content').addClass('required');
jform_NfMtkmlVAg_required = false;
jform_OpisjiAVIQ_required = false;
}
}
else
{
jQuery('#jform_content-lbl').closest('.control-group').hide();
if (!jform_NfMtkmlVAg_required)
if (!jform_OpisjiAVIQ_required)
{
updateFieldRequired('content',1);
jQuery('#jform_content').removeAttr('required');
jQuery('#jform_content').removeAttr('aria-required');
jQuery('#jform_content').removeClass('required');
jform_NfMtkmlVAg_required = true;
jform_OpisjiAVIQ_required = true;
}
}
}
// the NfMtkml Some function
function type_NfMtkml_SomeFunc(type_NfMtkml)
// the OpisjiA Some function
function type_OpisjiA_SomeFunc(type_OpisjiA)
{
// set the function logic
if (type_NfMtkml == 2)
if (type_OpisjiA == 2)
{
return true;
}
return false;
}
// the zyWCHch function
function zyWCHch(target_zyWCHch)
// the dZCesMs function
function dZCesMs(target_dZCesMs)
{
// set the function logic
if (target_zyWCHch == 1)
if (target_dZCesMs == 1)
{
jQuery('#jform_groups').closest('.control-group').show();
if (jform_zyWCHchiml_required)
if (jform_dZCesMspHY_required)
{
updateFieldRequired('groups',0);
jQuery('#jform_groups').prop('required','required');
jQuery('#jform_groups').attr('aria-required',true);
jQuery('#jform_groups').addClass('required');
jform_zyWCHchiml_required = false;
jform_dZCesMspHY_required = false;
}
}
else
{
jQuery('#jform_groups').closest('.control-group').hide();
if (!jform_zyWCHchiml_required)
if (!jform_dZCesMspHY_required)
{
updateFieldRequired('groups',1);
jQuery('#jform_groups').removeAttr('required');
jQuery('#jform_groups').removeAttr('aria-required');
jQuery('#jform_groups').removeClass('required');
jform_zyWCHchiml_required = true;
jform_dZCesMspHY_required = true;
}
}
}

View File

@ -18,23 +18,23 @@
/------------------------------------------------------------------------------------------------------*/
// Some Global Values
jform_guPoHoaOBI_required = false;
jform_MCYBPZBaSe_required = false;
// Initial Script
jQuery(document).ready(function()
{
var name_RVGpnBy = jQuery("#jform_name").val();
RVGpnBy(name_RVGpnBy);
var name_YAQbHhE = jQuery("#jform_name").val();
YAQbHhE(name_YAQbHhE);
var add_guPoHoa = jQuery("#jform_add input[type='radio']:checked").val();
guPoHoa(add_guPoHoa);
var add_MCYBPZB = jQuery("#jform_add input[type='radio']:checked").val();
MCYBPZB(add_MCYBPZB);
});
// the RVGpnBy function
function RVGpnBy(name_RVGpnBy)
// the YAQbHhE function
function YAQbHhE(name_YAQbHhE)
{
// set the function logic
if (isSet(name_RVGpnBy))
if (isSet(name_YAQbHhE))
{
jQuery('#jform_alias').closest('.control-group').show();
jQuery('#jform_description').closest('.control-group').show();
@ -46,20 +46,20 @@ function RVGpnBy(name_RVGpnBy)
}
}
// the guPoHoa function
function guPoHoa(add_guPoHoa)
// the MCYBPZB function
function MCYBPZB(add_MCYBPZB)
{
// set the function logic
if (add_guPoHoa == 1)
if (add_MCYBPZB == 1)
{
jQuery('#jform_acronym').closest('.control-group').show();
if (jform_guPoHoaOBI_required)
if (jform_MCYBPZBaSe_required)
{
updateFieldRequired('acronym',0);
jQuery('#jform_acronym').prop('required','required');
jQuery('#jform_acronym').attr('aria-required',true);
jQuery('#jform_acronym').addClass('required');
jform_guPoHoaOBI_required = false;
jform_MCYBPZBaSe_required = false;
}
jQuery('#jform_website').closest('.control-group').show();
@ -67,13 +67,13 @@ function guPoHoa(add_guPoHoa)
else
{
jQuery('#jform_acronym').closest('.control-group').hide();
if (!jform_guPoHoaOBI_required)
if (!jform_MCYBPZBaSe_required)
{
updateFieldRequired('acronym',1);
jQuery('#jform_acronym').removeAttr('required');
jQuery('#jform_acronym').removeAttr('aria-required');
jQuery('#jform_acronym').removeClass('required');
jform_guPoHoaOBI_required = true;
jform_MCYBPZBaSe_required = true;
}
jQuery('#jform_website').closest('.control-group').hide();
}

View File

@ -97,93 +97,93 @@ $componentParams = JComponentHelper::getParams('com_demo');
<script type="text/javascript">
// #jform_location listeners for location_iapdbbz function
// #jform_location listeners for location_befnCXD function
jQuery('#jform_location').on('keyup',function()
{
var location_iapdbbz = jQuery("#jform_location input[type='radio']:checked").val();
iapdbbz(location_iapdbbz);
var location_befnCXD = jQuery("#jform_location input[type='radio']:checked").val();
befnCXD(location_befnCXD);
});
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
var location_iapdbbz = jQuery("#jform_location input[type='radio']:checked").val();
iapdbbz(location_iapdbbz);
var location_befnCXD = jQuery("#jform_location input[type='radio']:checked").val();
befnCXD(location_befnCXD);
});
// #jform_location listeners for location_fHWHgTv function
// #jform_location listeners for location_RcmOskk function
jQuery('#jform_location').on('keyup',function()
{
var location_fHWHgTv = jQuery("#jform_location input[type='radio']:checked").val();
fHWHgTv(location_fHWHgTv);
var location_RcmOskk = jQuery("#jform_location input[type='radio']:checked").val();
RcmOskk(location_RcmOskk);
});
jQuery('#adminForm').on('change', '#jform_location',function (e)
{
e.preventDefault();
var location_fHWHgTv = jQuery("#jform_location input[type='radio']:checked").val();
fHWHgTv(location_fHWHgTv);
var location_RcmOskk = jQuery("#jform_location input[type='radio']:checked").val();
RcmOskk(location_RcmOskk);
});
// #jform_type listeners for type_XQcngFH function
// #jform_type listeners for type_rFatqiX function
jQuery('#jform_type').on('keyup',function()
{
var type_XQcngFH = jQuery("#jform_type").val();
XQcngFH(type_XQcngFH);
var type_rFatqiX = jQuery("#jform_type").val();
rFatqiX(type_rFatqiX);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_XQcngFH = jQuery("#jform_type").val();
XQcngFH(type_XQcngFH);
var type_rFatqiX = jQuery("#jform_type").val();
rFatqiX(type_rFatqiX);
});
// #jform_type listeners for type_HIJAxdn function
// #jform_type listeners for type_HAWbtQe function
jQuery('#jform_type').on('keyup',function()
{
var type_HIJAxdn = jQuery("#jform_type").val();
HIJAxdn(type_HIJAxdn);
var type_HAWbtQe = jQuery("#jform_type").val();
HAWbtQe(type_HAWbtQe);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_HIJAxdn = jQuery("#jform_type").val();
HIJAxdn(type_HIJAxdn);
var type_HAWbtQe = jQuery("#jform_type").val();
HAWbtQe(type_HAWbtQe);
});
// #jform_type listeners for type_NfMtkml function
// #jform_type listeners for type_OpisjiA function
jQuery('#jform_type').on('keyup',function()
{
var type_NfMtkml = jQuery("#jform_type").val();
NfMtkml(type_NfMtkml);
var type_OpisjiA = jQuery("#jform_type").val();
OpisjiA(type_OpisjiA);
});
jQuery('#adminForm').on('change', '#jform_type',function (e)
{
e.preventDefault();
var type_NfMtkml = jQuery("#jform_type").val();
NfMtkml(type_NfMtkml);
var type_OpisjiA = jQuery("#jform_type").val();
OpisjiA(type_OpisjiA);
});
// #jform_target listeners for target_zyWCHch function
// #jform_target listeners for target_dZCesMs function
jQuery('#jform_target').on('keyup',function()
{
var target_zyWCHch = jQuery("#jform_target input[type='radio']:checked").val();
zyWCHch(target_zyWCHch);
var target_dZCesMs = jQuery("#jform_target input[type='radio']:checked").val();
dZCesMs(target_dZCesMs);
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target_zyWCHch = jQuery("#jform_target input[type='radio']:checked").val();
zyWCHch(target_zyWCHch);
var target_dZCesMs = jQuery("#jform_target input[type='radio']:checked").val();
dZCesMs(target_dZCesMs);
});

View File

@ -103,33 +103,33 @@ $componentParams = JComponentHelper::getParams('com_demo');
<script type="text/javascript">
// #jform_name listeners for name_RVGpnBy function
// #jform_name listeners for name_YAQbHhE function
jQuery('#jform_name').on('keyup',function()
{
var name_RVGpnBy = jQuery("#jform_name").val();
RVGpnBy(name_RVGpnBy);
var name_YAQbHhE = jQuery("#jform_name").val();
YAQbHhE(name_YAQbHhE);
});
jQuery('#adminForm').on('change', '#jform_name',function (e)
{
e.preventDefault();
var name_RVGpnBy = jQuery("#jform_name").val();
RVGpnBy(name_RVGpnBy);
var name_YAQbHhE = jQuery("#jform_name").val();
YAQbHhE(name_YAQbHhE);
});
// #jform_add listeners for add_guPoHoa function
// #jform_add listeners for add_MCYBPZB function
jQuery('#jform_add').on('keyup',function()
{
var add_guPoHoa = jQuery("#jform_add input[type='radio']:checked").val();
guPoHoa(add_guPoHoa);
var add_MCYBPZB = jQuery("#jform_add input[type='radio']:checked").val();
MCYBPZB(add_MCYBPZB);
});
jQuery('#adminForm').on('change', '#jform_add',function (e)
{
e.preventDefault();
var add_guPoHoa = jQuery("#jform_add input[type='radio']:checked").val();
guPoHoa(add_guPoHoa);
var add_MCYBPZB = jQuery("#jform_add input[type='radio']:checked").val();
MCYBPZB(add_MCYBPZB);
});