Release of v3.2.1-beta1
Add fallback option to ensure that all JCB tables and fields exist. Move the powers autoloader to its own file.
This commit is contained in:
@ -9,123 +9,122 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvzvvwj_required = false;
|
||||
jform_vvvvvzwvwk_required = false;
|
||||
jform_vvvvwaavwl_required = false;
|
||||
jform_vvvvwaavwm_required = false;
|
||||
jform_vvvvwaavwn_required = false;
|
||||
jform_vvvvwaavwo_required = false;
|
||||
jform_vvvvwaavwp_required = false;
|
||||
jform_vvvvwaavwq_required = false;
|
||||
jform_vvvvwaavwr_required = false;
|
||||
jform_vvvvvydvwb_required = false;
|
||||
jform_vvvvvyivwc_required = false;
|
||||
jform_vvvvvyivwd_required = false;
|
||||
jform_vvvvvyivwe_required = false;
|
||||
jform_vvvvvyivwf_required = false;
|
||||
jform_vvvvvyivwg_required = false;
|
||||
jform_vvvvvyivwh_required = false;
|
||||
jform_vvvvvyivwi_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var add_css_view_vvvvvyv = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvyv(add_css_view_vvvvvyv);
|
||||
var add_css_view_vvvvvxd = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvxd(add_css_view_vvvvvxd);
|
||||
|
||||
var add_css_views_vvvvvyw = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvyw(add_css_views_vvvvvyw);
|
||||
var add_css_views_vvvvvxe = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvxe(add_css_views_vvvvvxe);
|
||||
|
||||
var add_javascript_view_file_vvvvvyx = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvyx(add_javascript_view_file_vvvvvyx);
|
||||
var add_javascript_view_file_vvvvvxf = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvxf(add_javascript_view_file_vvvvvxf);
|
||||
|
||||
var add_javascript_views_file_vvvvvyy = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvyy(add_javascript_views_file_vvvvvyy);
|
||||
var add_javascript_views_file_vvvvvxg = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvxg(add_javascript_views_file_vvvvvxg);
|
||||
|
||||
var add_javascript_view_footer_vvvvvyz = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvyz(add_javascript_view_footer_vvvvvyz);
|
||||
var add_javascript_view_footer_vvvvvxh = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvxh(add_javascript_view_footer_vvvvvxh);
|
||||
|
||||
var add_javascript_views_footer_vvvvvza = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvza(add_javascript_views_footer_vvvvvza);
|
||||
var add_javascript_views_footer_vvvvvxi = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvxi(add_javascript_views_footer_vvvvvxi);
|
||||
|
||||
var add_php_ajax_vvvvvzb = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzb(add_php_ajax_vvvvvzb);
|
||||
var add_php_ajax_vvvvvxj = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvxj(add_php_ajax_vvvvvxj);
|
||||
|
||||
var add_php_getitem_vvvvvzc = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvzc(add_php_getitem_vvvvvzc);
|
||||
var add_php_getitem_vvvvvxk = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvxk(add_php_getitem_vvvvvxk);
|
||||
|
||||
var add_php_getitems_vvvvvzd = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvzd(add_php_getitems_vvvvvzd);
|
||||
var add_php_getitems_vvvvvxl = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvxl(add_php_getitems_vvvvvxl);
|
||||
|
||||
var add_php_getitems_after_all_vvvvvze = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvze(add_php_getitems_after_all_vvvvvze);
|
||||
var add_php_getitems_after_all_vvvvvxm = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvxm(add_php_getitems_after_all_vvvvvxm);
|
||||
|
||||
var add_php_getlistquery_vvvvvzf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvzf(add_php_getlistquery_vvvvvzf);
|
||||
var add_php_getlistquery_vvvvvxn = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvxn(add_php_getlistquery_vvvvvxn);
|
||||
|
||||
var add_php_getform_vvvvvzg = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_getform_vvvvvzg);
|
||||
var add_php_getform_vvvvvxo = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvxo(add_php_getform_vvvvvxo);
|
||||
|
||||
var add_php_before_save_vvvvvzh = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvzh(add_php_before_save_vvvvvzh);
|
||||
var add_php_before_save_vvvvvxp = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvxp(add_php_before_save_vvvvvxp);
|
||||
|
||||
var add_php_save_vvvvvzi = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvzi(add_php_save_vvvvvzi);
|
||||
var add_php_save_vvvvvxq = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvxq(add_php_save_vvvvvxq);
|
||||
|
||||
var add_php_postsavehook_vvvvvzj = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_postsavehook_vvvvvzj);
|
||||
var add_php_postsavehook_vvvvvxr = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvxr(add_php_postsavehook_vvvvvxr);
|
||||
|
||||
var add_php_allowadd_vvvvvzk = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvzk(add_php_allowadd_vvvvvzk);
|
||||
var add_php_allowadd_vvvvvxs = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvxs(add_php_allowadd_vvvvvxs);
|
||||
|
||||
var add_php_allowedit_vvvvvzl = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvzl(add_php_allowedit_vvvvvzl);
|
||||
var add_php_allowedit_vvvvvxt = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvxt(add_php_allowedit_vvvvvxt);
|
||||
|
||||
var add_php_before_cancel_vvvvvzm = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvzm(add_php_before_cancel_vvvvvzm);
|
||||
var add_php_before_cancel_vvvvvxu = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvxu(add_php_before_cancel_vvvvvxu);
|
||||
|
||||
var add_php_after_cancel_vvvvvzn = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvzn(add_php_after_cancel_vvvvvzn);
|
||||
var add_php_after_cancel_vvvvvxv = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvxv(add_php_after_cancel_vvvvvxv);
|
||||
|
||||
var add_php_batchcopy_vvvvvzo = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvzo(add_php_batchcopy_vvvvvzo);
|
||||
var add_php_batchcopy_vvvvvxw = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvxw(add_php_batchcopy_vvvvvxw);
|
||||
|
||||
var add_php_batchmove_vvvvvzp = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvzp(add_php_batchmove_vvvvvzp);
|
||||
var add_php_batchmove_vvvvvxx = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvxx(add_php_batchmove_vvvvvxx);
|
||||
|
||||
var add_php_before_publish_vvvvvzq = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvzq(add_php_before_publish_vvvvvzq);
|
||||
var add_php_before_publish_vvvvvxy = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvxy(add_php_before_publish_vvvvvxy);
|
||||
|
||||
var add_php_after_publish_vvvvvzr = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvzr(add_php_after_publish_vvvvvzr);
|
||||
var add_php_after_publish_vvvvvxz = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvxz(add_php_after_publish_vvvvvxz);
|
||||
|
||||
var add_php_before_delete_vvvvvzs = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvzs(add_php_before_delete_vvvvvzs);
|
||||
var add_php_before_delete_vvvvvya = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvya(add_php_before_delete_vvvvvya);
|
||||
|
||||
var add_php_after_delete_vvvvvzt = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvzt(add_php_after_delete_vvvvvzt);
|
||||
var add_php_after_delete_vvvvvyb = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvyb(add_php_after_delete_vvvvvyb);
|
||||
|
||||
var add_php_document_vvvvvzu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzu(add_php_document_vvvvvzu);
|
||||
var add_php_document_vvvvvyc = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyc(add_php_document_vvvvvyc);
|
||||
|
||||
var add_sql_vvvvvzv = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzv(add_sql_vvvvvzv);
|
||||
var add_sql_vvvvvyd = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyd(add_sql_vvvvvyd);
|
||||
|
||||
var source_vvvvvzw = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzw = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzw(source_vvvvvzw,add_sql_vvvvvzw);
|
||||
var source_vvvvvye = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvye = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvye(source_vvvvvye,add_sql_vvvvvye);
|
||||
|
||||
var source_vvvvvzy = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzy = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzy(source_vvvvvzy,add_sql_vvvvvzy);
|
||||
var source_vvvvvyg = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvyg = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg);
|
||||
|
||||
var add_custom_import_vvvvwaa = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvwaa(add_custom_import_vvvvwaa);
|
||||
var add_custom_import_vvvvvyi = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvyi(add_custom_import_vvvvvyi);
|
||||
|
||||
var add_custom_import_vvvvwab = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvwab(add_custom_import_vvvvwab);
|
||||
var add_custom_import_vvvvvyj = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvvyj(add_custom_import_vvvvvyj);
|
||||
|
||||
var add_custom_button_vvvvwac = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwac(add_custom_button_vvvvwac);
|
||||
var add_custom_button_vvvvvyk = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvyk(add_custom_button_vvvvvyk);
|
||||
});
|
||||
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_css_view_vvvvvyv)
|
||||
// the vvvvvxd function
|
||||
function vvvvvxd(add_css_view_vvvvvxd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvvyv == 1)
|
||||
if (add_css_view_vvvvvxd == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -135,11 +134,11 @@ function vvvvvyv(add_css_view_vvvvvyv)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_css_views_vvvvvyw)
|
||||
// the vvvvvxe function
|
||||
function vvvvvxe(add_css_views_vvvvvxe)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvvyw == 1)
|
||||
if (add_css_views_vvvvvxe == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -149,11 +148,11 @@ function vvvvvyw(add_css_views_vvvvvyw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_javascript_view_file_vvvvvyx)
|
||||
// the vvvvvxf function
|
||||
function vvvvvxf(add_javascript_view_file_vvvvvxf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_file_vvvvvyx == 1)
|
||||
if (add_javascript_view_file_vvvvvxf == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -163,11 +162,11 @@ function vvvvvyx(add_javascript_view_file_vvvvvyx)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_javascript_views_file_vvvvvyy)
|
||||
// the vvvvvxg function
|
||||
function vvvvvxg(add_javascript_views_file_vvvvvxg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_file_vvvvvyy == 1)
|
||||
if (add_javascript_views_file_vvvvvxg == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -177,11 +176,11 @@ function vvvvvyy(add_javascript_views_file_vvvvvyy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_javascript_view_footer_vvvvvyz)
|
||||
// the vvvvvxh function
|
||||
function vvvvvxh(add_javascript_view_footer_vvvvvxh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvvyz == 1)
|
||||
if (add_javascript_view_footer_vvvvvxh == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -191,11 +190,11 @@ function vvvvvyz(add_javascript_view_footer_vvvvvyz)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_javascript_views_footer_vvvvvza)
|
||||
// the vvvvvxi function
|
||||
function vvvvvxi(add_javascript_views_footer_vvvvvxi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvvza == 1)
|
||||
if (add_javascript_views_footer_vvvvvxi == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -205,11 +204,11 @@ function vvvvvza(add_javascript_views_footer_vvvvvza)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzb function
|
||||
function vvvvvzb(add_php_ajax_vvvvvzb)
|
||||
// the vvvvvxj function
|
||||
function vvvvvxj(add_php_ajax_vvvvvxj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvzb == 1)
|
||||
if (add_php_ajax_vvvvvxj == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
@ -221,11 +220,11 @@ function vvvvvzb(add_php_ajax_vvvvvzb)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzc function
|
||||
function vvvvvzc(add_php_getitem_vvvvvzc)
|
||||
// the vvvvvxk function
|
||||
function vvvvvxk(add_php_getitem_vvvvvxk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitem_vvvvvzc == 1)
|
||||
if (add_php_getitem_vvvvvxk == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitem-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -235,11 +234,11 @@ function vvvvvzc(add_php_getitem_vvvvvzc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzd function
|
||||
function vvvvvzd(add_php_getitems_vvvvvzd)
|
||||
// the vvvvvxl function
|
||||
function vvvvvxl(add_php_getitems_vvvvvxl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitems_vvvvvzd == 1)
|
||||
if (add_php_getitems_vvvvvxl == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitems-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -249,11 +248,11 @@ function vvvvvzd(add_php_getitems_vvvvvzd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvze function
|
||||
function vvvvvze(add_php_getitems_after_all_vvvvvze)
|
||||
// the vvvvvxm function
|
||||
function vvvvvxm(add_php_getitems_after_all_vvvvvxm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitems_after_all_vvvvvze == 1)
|
||||
if (add_php_getitems_after_all_vvvvvxm == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -263,11 +262,11 @@ function vvvvvze(add_php_getitems_after_all_vvvvvze)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzf function
|
||||
function vvvvvzf(add_php_getlistquery_vvvvvzf)
|
||||
// the vvvvvxn function
|
||||
function vvvvvxn(add_php_getlistquery_vvvvvxn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getlistquery_vvvvvzf == 1)
|
||||
if (add_php_getlistquery_vvvvvxn == 1)
|
||||
{
|
||||
jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -277,11 +276,11 @@ function vvvvvzf(add_php_getlistquery_vvvvvzf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzg function
|
||||
function vvvvvzg(add_php_getform_vvvvvzg)
|
||||
// the vvvvvxo function
|
||||
function vvvvvxo(add_php_getform_vvvvvxo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getform_vvvvvzg == 1)
|
||||
if (add_php_getform_vvvvvxo == 1)
|
||||
{
|
||||
jQuery('#jform_php_getform-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -291,11 +290,11 @@ function vvvvvzg(add_php_getform_vvvvvzg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzh function
|
||||
function vvvvvzh(add_php_before_save_vvvvvzh)
|
||||
// the vvvvvxp function
|
||||
function vvvvvxp(add_php_before_save_vvvvvxp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_save_vvvvvzh == 1)
|
||||
if (add_php_before_save_vvvvvxp == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_save-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -305,11 +304,11 @@ function vvvvvzh(add_php_before_save_vvvvvzh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzi function
|
||||
function vvvvvzi(add_php_save_vvvvvzi)
|
||||
// the vvvvvxq function
|
||||
function vvvvvxq(add_php_save_vvvvvxq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_save_vvvvvzi == 1)
|
||||
if (add_php_save_vvvvvxq == 1)
|
||||
{
|
||||
jQuery('#jform_php_save-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -319,11 +318,11 @@ function vvvvvzi(add_php_save_vvvvvzi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzj function
|
||||
function vvvvvzj(add_php_postsavehook_vvvvvzj)
|
||||
// the vvvvvxr function
|
||||
function vvvvvxr(add_php_postsavehook_vvvvvxr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postsavehook_vvvvvzj == 1)
|
||||
if (add_php_postsavehook_vvvvvxr == 1)
|
||||
{
|
||||
jQuery('#jform_php_postsavehook-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -333,11 +332,11 @@ function vvvvvzj(add_php_postsavehook_vvvvvzj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzk function
|
||||
function vvvvvzk(add_php_allowadd_vvvvvzk)
|
||||
// the vvvvvxs function
|
||||
function vvvvvxs(add_php_allowadd_vvvvvxs)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_allowadd_vvvvvzk == 1)
|
||||
if (add_php_allowadd_vvvvvxs == 1)
|
||||
{
|
||||
jQuery('#jform_php_allowadd-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -347,11 +346,11 @@ function vvvvvzk(add_php_allowadd_vvvvvzk)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzl function
|
||||
function vvvvvzl(add_php_allowedit_vvvvvzl)
|
||||
// the vvvvvxt function
|
||||
function vvvvvxt(add_php_allowedit_vvvvvxt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_allowedit_vvvvvzl == 1)
|
||||
if (add_php_allowedit_vvvvvxt == 1)
|
||||
{
|
||||
jQuery('#jform_php_allowedit-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -361,11 +360,11 @@ function vvvvvzl(add_php_allowedit_vvvvvzl)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzm function
|
||||
function vvvvvzm(add_php_before_cancel_vvvvvzm)
|
||||
// the vvvvvxu function
|
||||
function vvvvvxu(add_php_before_cancel_vvvvvxu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_cancel_vvvvvzm == 1)
|
||||
if (add_php_before_cancel_vvvvvxu == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_cancel-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -375,11 +374,11 @@ function vvvvvzm(add_php_before_cancel_vvvvvzm)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzn function
|
||||
function vvvvvzn(add_php_after_cancel_vvvvvzn)
|
||||
// the vvvvvxv function
|
||||
function vvvvvxv(add_php_after_cancel_vvvvvxv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_cancel_vvvvvzn == 1)
|
||||
if (add_php_after_cancel_vvvvvxv == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_cancel-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -389,11 +388,11 @@ function vvvvvzn(add_php_after_cancel_vvvvvzn)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzo function
|
||||
function vvvvvzo(add_php_batchcopy_vvvvvzo)
|
||||
// the vvvvvxw function
|
||||
function vvvvvxw(add_php_batchcopy_vvvvvxw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_batchcopy_vvvvvzo == 1)
|
||||
if (add_php_batchcopy_vvvvvxw == 1)
|
||||
{
|
||||
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -403,11 +402,11 @@ function vvvvvzo(add_php_batchcopy_vvvvvzo)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzp function
|
||||
function vvvvvzp(add_php_batchmove_vvvvvzp)
|
||||
// the vvvvvxx function
|
||||
function vvvvvxx(add_php_batchmove_vvvvvxx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_batchmove_vvvvvzp == 1)
|
||||
if (add_php_batchmove_vvvvvxx == 1)
|
||||
{
|
||||
jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -417,11 +416,11 @@ function vvvvvzp(add_php_batchmove_vvvvvzp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzq function
|
||||
function vvvvvzq(add_php_before_publish_vvvvvzq)
|
||||
// the vvvvvxy function
|
||||
function vvvvvxy(add_php_before_publish_vvvvvxy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_publish_vvvvvzq == 1)
|
||||
if (add_php_before_publish_vvvvvxy == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -431,11 +430,11 @@ function vvvvvzq(add_php_before_publish_vvvvvzq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzr function
|
||||
function vvvvvzr(add_php_after_publish_vvvvvzr)
|
||||
// the vvvvvxz function
|
||||
function vvvvvxz(add_php_after_publish_vvvvvxz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_publish_vvvvvzr == 1)
|
||||
if (add_php_after_publish_vvvvvxz == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -445,11 +444,11 @@ function vvvvvzr(add_php_after_publish_vvvvvzr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzs function
|
||||
function vvvvvzs(add_php_before_delete_vvvvvzs)
|
||||
// the vvvvvya function
|
||||
function vvvvvya(add_php_before_delete_vvvvvya)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_delete_vvvvvzs == 1)
|
||||
if (add_php_before_delete_vvvvvya == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -459,11 +458,11 @@ function vvvvvzs(add_php_before_delete_vvvvvzs)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzt function
|
||||
function vvvvvzt(add_php_after_delete_vvvvvzt)
|
||||
// the vvvvvyb function
|
||||
function vvvvvyb(add_php_after_delete_vvvvvyb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_delete_vvvvvzt == 1)
|
||||
if (add_php_after_delete_vvvvvyb == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -473,11 +472,11 @@ function vvvvvzt(add_php_after_delete_vvvvvzt)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzu function
|
||||
function vvvvvzu(add_php_document_vvvvvzu)
|
||||
// the vvvvvyc function
|
||||
function vvvvvyc(add_php_document_vvvvvyc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvzu == 1)
|
||||
if (add_php_document_vvvvvyc == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -487,75 +486,57 @@ function vvvvvzu(add_php_document_vvvvvzu)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzv function
|
||||
function vvvvvzv(add_sql_vvvvvzv)
|
||||
// the vvvvvyd function
|
||||
function vvvvvyd(add_sql_vvvvvyd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvzv == 1)
|
||||
if (add_sql_vvvvvyd == 1)
|
||||
{
|
||||
jQuery('#jform_source').closest('.control-group').show();
|
||||
// add required attribute to source field
|
||||
if (jform_vvvvvzvvwj_required)
|
||||
if (jform_vvvvvydvwb_required)
|
||||
{
|
||||
updateFieldRequired('source',0);
|
||||
jQuery('#jform_source').prop('required','required');
|
||||
jQuery('#jform_source').attr('aria-required',true);
|
||||
jQuery('#jform_source').addClass('required');
|
||||
jform_vvvvvzvvwj_required = false;
|
||||
jform_vvvvvydvwb_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_source').closest('.control-group').hide();
|
||||
// remove required attribute from source field
|
||||
if (!jform_vvvvvzvvwj_required)
|
||||
if (!jform_vvvvvydvwb_required)
|
||||
{
|
||||
updateFieldRequired('source',1);
|
||||
jQuery('#jform_source').removeAttr('required');
|
||||
jQuery('#jform_source').removeAttr('aria-required');
|
||||
jQuery('#jform_source').removeClass('required');
|
||||
jform_vvvvvzvvwj_required = true;
|
||||
jform_vvvvvydvwb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzw function
|
||||
function vvvvvzw(source_vvvvvzw,add_sql_vvvvvzw)
|
||||
// the vvvvvye function
|
||||
function vvvvvye(source_vvvvvye,add_sql_vvvvvye)
|
||||
{
|
||||
// set the function logic
|
||||
if (source_vvvvvzw == 2 && add_sql_vvvvvzw == 1)
|
||||
if (source_vvvvvye == 2 && add_sql_vvvvvye == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvzwvwk_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvzwvwk_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvzwvwk_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvzwvwk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzy function
|
||||
function vvvvvzy(source_vvvvvzy,add_sql_vvvvvzy)
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(source_vvvvvyg,add_sql_vvvvvyg)
|
||||
{
|
||||
// set the function logic
|
||||
if (source_vvvvvzy == 1 && add_sql_vvvvvzy == 1)
|
||||
if (source_vvvvvyg == 1 && add_sql_vvvvvyg == 1)
|
||||
{
|
||||
jQuery('#jform_addtables-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -565,165 +546,165 @@ function vvvvvzy(source_vvvvvzy,add_sql_vvvvvzy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaa function
|
||||
function vvvvwaa(add_custom_import_vvvvwaa)
|
||||
// the vvvvvyi function
|
||||
function vvvvvyi(add_custom_import_vvvvvyi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_import_vvvvwaa == 1)
|
||||
if (add_custom_import_vvvvvyi == 1)
|
||||
{
|
||||
jQuery('#jform_html_import_view').closest('.control-group').show();
|
||||
// add required attribute to html_import_view field
|
||||
if (jform_vvvvwaavwl_required)
|
||||
if (jform_vvvvvyivwc_required)
|
||||
{
|
||||
updateFieldRequired('html_import_view',0);
|
||||
jQuery('#jform_html_import_view').prop('required','required');
|
||||
jQuery('#jform_html_import_view').attr('aria-required',true);
|
||||
jQuery('#jform_html_import_view').addClass('required');
|
||||
jform_vvvvwaavwl_required = false;
|
||||
jform_vvvvvyivwc_required = false;
|
||||
}
|
||||
jQuery('.note_advanced_import').closest('.control-group').show();
|
||||
jQuery('#jform_php_import_display').closest('.control-group').show();
|
||||
// add required attribute to php_import_display field
|
||||
if (jform_vvvvwaavwm_required)
|
||||
if (jform_vvvvvyivwd_required)
|
||||
{
|
||||
updateFieldRequired('php_import_display',0);
|
||||
jQuery('#jform_php_import_display').prop('required','required');
|
||||
jQuery('#jform_php_import_display').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_display').addClass('required');
|
||||
jform_vvvvwaavwm_required = false;
|
||||
jform_vvvvvyivwd_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_ext').closest('.control-group').show();
|
||||
// add required attribute to php_import_ext field
|
||||
if (jform_vvvvwaavwn_required)
|
||||
if (jform_vvvvvyivwe_required)
|
||||
{
|
||||
updateFieldRequired('php_import_ext',0);
|
||||
jQuery('#jform_php_import_ext').prop('required','required');
|
||||
jQuery('#jform_php_import_ext').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_ext').addClass('required');
|
||||
jform_vvvvwaavwn_required = false;
|
||||
jform_vvvvvyivwe_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_headers').closest('.control-group').show();
|
||||
// add required attribute to php_import_headers field
|
||||
if (jform_vvvvwaavwo_required)
|
||||
if (jform_vvvvvyivwf_required)
|
||||
{
|
||||
updateFieldRequired('php_import_headers',0);
|
||||
jQuery('#jform_php_import_headers').prop('required','required');
|
||||
jQuery('#jform_php_import_headers').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_headers').addClass('required');
|
||||
jform_vvvvwaavwo_required = false;
|
||||
jform_vvvvvyivwf_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import').closest('.control-group').show();
|
||||
// add required attribute to php_import field
|
||||
if (jform_vvvvwaavwp_required)
|
||||
if (jform_vvvvvyivwg_required)
|
||||
{
|
||||
updateFieldRequired('php_import',0);
|
||||
jQuery('#jform_php_import').prop('required','required');
|
||||
jQuery('#jform_php_import').attr('aria-required',true);
|
||||
jQuery('#jform_php_import').addClass('required');
|
||||
jform_vvvvwaavwp_required = false;
|
||||
jform_vvvvvyivwg_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_save').closest('.control-group').show();
|
||||
// add required attribute to php_import_save field
|
||||
if (jform_vvvvwaavwq_required)
|
||||
if (jform_vvvvvyivwh_required)
|
||||
{
|
||||
updateFieldRequired('php_import_save',0);
|
||||
jQuery('#jform_php_import_save').prop('required','required');
|
||||
jQuery('#jform_php_import_save').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_save').addClass('required');
|
||||
jform_vvvvwaavwq_required = false;
|
||||
jform_vvvvvyivwh_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import_setdata').closest('.control-group').show();
|
||||
// add required attribute to php_import_setdata field
|
||||
if (jform_vvvvwaavwr_required)
|
||||
if (jform_vvvvvyivwi_required)
|
||||
{
|
||||
updateFieldRequired('php_import_setdata',0);
|
||||
jQuery('#jform_php_import_setdata').prop('required','required');
|
||||
jQuery('#jform_php_import_setdata').attr('aria-required',true);
|
||||
jQuery('#jform_php_import_setdata').addClass('required');
|
||||
jform_vvvvwaavwr_required = false;
|
||||
jform_vvvvvyivwi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_html_import_view').closest('.control-group').hide();
|
||||
// remove required attribute from html_import_view field
|
||||
if (!jform_vvvvwaavwl_required)
|
||||
if (!jform_vvvvvyivwc_required)
|
||||
{
|
||||
updateFieldRequired('html_import_view',1);
|
||||
jQuery('#jform_html_import_view').removeAttr('required');
|
||||
jQuery('#jform_html_import_view').removeAttr('aria-required');
|
||||
jQuery('#jform_html_import_view').removeClass('required');
|
||||
jform_vvvvwaavwl_required = true;
|
||||
jform_vvvvvyivwc_required = true;
|
||||
}
|
||||
jQuery('.note_advanced_import').closest('.control-group').hide();
|
||||
jQuery('#jform_php_import_display').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_display field
|
||||
if (!jform_vvvvwaavwm_required)
|
||||
if (!jform_vvvvvyivwd_required)
|
||||
{
|
||||
updateFieldRequired('php_import_display',1);
|
||||
jQuery('#jform_php_import_display').removeAttr('required');
|
||||
jQuery('#jform_php_import_display').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_display').removeClass('required');
|
||||
jform_vvvvwaavwm_required = true;
|
||||
jform_vvvvvyivwd_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_ext').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_ext field
|
||||
if (!jform_vvvvwaavwn_required)
|
||||
if (!jform_vvvvvyivwe_required)
|
||||
{
|
||||
updateFieldRequired('php_import_ext',1);
|
||||
jQuery('#jform_php_import_ext').removeAttr('required');
|
||||
jQuery('#jform_php_import_ext').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_ext').removeClass('required');
|
||||
jform_vvvvwaavwn_required = true;
|
||||
jform_vvvvvyivwe_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_headers').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_headers field
|
||||
if (!jform_vvvvwaavwo_required)
|
||||
if (!jform_vvvvvyivwf_required)
|
||||
{
|
||||
updateFieldRequired('php_import_headers',1);
|
||||
jQuery('#jform_php_import_headers').removeAttr('required');
|
||||
jQuery('#jform_php_import_headers').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_headers').removeClass('required');
|
||||
jform_vvvvwaavwo_required = true;
|
||||
jform_vvvvvyivwf_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import').closest('.control-group').hide();
|
||||
// remove required attribute from php_import field
|
||||
if (!jform_vvvvwaavwp_required)
|
||||
if (!jform_vvvvvyivwg_required)
|
||||
{
|
||||
updateFieldRequired('php_import',1);
|
||||
jQuery('#jform_php_import').removeAttr('required');
|
||||
jQuery('#jform_php_import').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import').removeClass('required');
|
||||
jform_vvvvwaavwp_required = true;
|
||||
jform_vvvvvyivwg_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_save').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_save field
|
||||
if (!jform_vvvvwaavwq_required)
|
||||
if (!jform_vvvvvyivwh_required)
|
||||
{
|
||||
updateFieldRequired('php_import_save',1);
|
||||
jQuery('#jform_php_import_save').removeAttr('required');
|
||||
jQuery('#jform_php_import_save').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_save').removeClass('required');
|
||||
jform_vvvvwaavwq_required = true;
|
||||
jform_vvvvvyivwh_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import_setdata').closest('.control-group').hide();
|
||||
// remove required attribute from php_import_setdata field
|
||||
if (!jform_vvvvwaavwr_required)
|
||||
if (!jform_vvvvvyivwi_required)
|
||||
{
|
||||
updateFieldRequired('php_import_setdata',1);
|
||||
jQuery('#jform_php_import_setdata').removeAttr('required');
|
||||
jQuery('#jform_php_import_setdata').removeAttr('aria-required');
|
||||
jQuery('#jform_php_import_setdata').removeClass('required');
|
||||
jform_vvvvwaavwr_required = true;
|
||||
jform_vvvvvyivwi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwab function
|
||||
function vvvvwab(add_custom_import_vvvvwab)
|
||||
// the vvvvvyj function
|
||||
function vvvvvyj(add_custom_import_vvvvvyj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_import_vvvvwab == 0)
|
||||
if (add_custom_import_vvvvvyj == 0)
|
||||
{
|
||||
jQuery('.note_beginner_import').closest('.control-group').show();
|
||||
}
|
||||
@ -733,11 +714,11 @@ function vvvvwab(add_custom_import_vvvvwab)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwac function
|
||||
function vvvvwac(add_custom_button_vvvvwac)
|
||||
// the vvvvvyk function
|
||||
function vvvvvyk(add_custom_button_vvvvvyk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvwac == 1)
|
||||
if (add_custom_button_vvvvvyk == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
|
@ -9,29 +9,29 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcgvxk_required = false;
|
||||
jform_vvvvwaovxb_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var extension_type_vvvvwcg = jQuery("#jform_extension_type").val();
|
||||
vvvvwcg(extension_type_vvvvwcg);
|
||||
var extension_type_vvvvwao = jQuery("#jform_extension_type").val();
|
||||
vvvvwao(extension_type_vvvvwao);
|
||||
});
|
||||
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(extension_type_vvvvwcg)
|
||||
// the vvvvwao function
|
||||
function vvvvwao(extension_type_vvvvwao)
|
||||
{
|
||||
if (isSet(extension_type_vvvvwcg) && extension_type_vvvvwcg.constructor !== Array)
|
||||
if (isSet(extension_type_vvvvwao) && extension_type_vvvvwao.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcg = extension_type_vvvvwcg;
|
||||
var extension_type_vvvvwcg = [];
|
||||
extension_type_vvvvwcg.push(temp_vvvvwcg);
|
||||
var temp_vvvvwao = extension_type_vvvvwao;
|
||||
var extension_type_vvvvwao = [];
|
||||
extension_type_vvvvwao.push(temp_vvvvwao);
|
||||
}
|
||||
else if (!isSet(extension_type_vvvvwcg))
|
||||
else if (!isSet(extension_type_vvvvwao))
|
||||
{
|
||||
var extension_type_vvvvwcg = [];
|
||||
var extension_type_vvvvwao = [];
|
||||
}
|
||||
var extension_type = extension_type_vvvvwcg.some(extension_type_vvvvwcg_SomeFunc);
|
||||
var extension_type = extension_type_vvvvwao.some(extension_type_vvvvwao_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -39,35 +39,35 @@ function vvvvwcg(extension_type_vvvvwcg)
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').show();
|
||||
// add required attribute to joomla_plugin_group field
|
||||
if (jform_vvvvwcgvxk_required)
|
||||
if (jform_vvvvwaovxb_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',0);
|
||||
jQuery('#jform_joomla_plugin_group').prop('required','required');
|
||||
jQuery('#jform_joomla_plugin_group').attr('aria-required',true);
|
||||
jQuery('#jform_joomla_plugin_group').addClass('required');
|
||||
jform_vvvvwcgvxk_required = false;
|
||||
jform_vvvvwaovxb_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').hide();
|
||||
// remove required attribute from joomla_plugin_group field
|
||||
if (!jform_vvvvwcgvxk_required)
|
||||
if (!jform_vvvvwaovxb_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',1);
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('required');
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('aria-required');
|
||||
jQuery('#jform_joomla_plugin_group').removeClass('required');
|
||||
jform_vvvvwcgvxk_required = true;
|
||||
jform_vvvvwaovxb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcg Some function
|
||||
function extension_type_vvvvwcg_SomeFunc(extension_type_vvvvwcg)
|
||||
// the vvvvwao Some function
|
||||
function extension_type_vvvvwao_SomeFunc(extension_type_vvvvwao)
|
||||
{
|
||||
// set the function logic
|
||||
if (extension_type_vvvvwcg == 'plugins' || extension_type_vvvvwcg == 'plugin')
|
||||
if (extension_type_vvvvwao == 'plugins' || extension_type_vvvvwao == 'plugin')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -9,29 +9,29 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcfvxj_required = false;
|
||||
jform_vvvvwanvxa_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var extension_type_vvvvwcf = jQuery("#jform_extension_type").val();
|
||||
vvvvwcf(extension_type_vvvvwcf);
|
||||
var extension_type_vvvvwan = jQuery("#jform_extension_type").val();
|
||||
vvvvwan(extension_type_vvvvwan);
|
||||
});
|
||||
|
||||
// the vvvvwcf function
|
||||
function vvvvwcf(extension_type_vvvvwcf)
|
||||
// the vvvvwan function
|
||||
function vvvvwan(extension_type_vvvvwan)
|
||||
{
|
||||
if (isSet(extension_type_vvvvwcf) && extension_type_vvvvwcf.constructor !== Array)
|
||||
if (isSet(extension_type_vvvvwan) && extension_type_vvvvwan.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcf = extension_type_vvvvwcf;
|
||||
var extension_type_vvvvwcf = [];
|
||||
extension_type_vvvvwcf.push(temp_vvvvwcf);
|
||||
var temp_vvvvwan = extension_type_vvvvwan;
|
||||
var extension_type_vvvvwan = [];
|
||||
extension_type_vvvvwan.push(temp_vvvvwan);
|
||||
}
|
||||
else if (!isSet(extension_type_vvvvwcf))
|
||||
else if (!isSet(extension_type_vvvvwan))
|
||||
{
|
||||
var extension_type_vvvvwcf = [];
|
||||
var extension_type_vvvvwan = [];
|
||||
}
|
||||
var extension_type = extension_type_vvvvwcf.some(extension_type_vvvvwcf_SomeFunc);
|
||||
var extension_type = extension_type_vvvvwan.some(extension_type_vvvvwan_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -39,35 +39,35 @@ function vvvvwcf(extension_type_vvvvwcf)
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').show();
|
||||
// add required attribute to joomla_plugin_group field
|
||||
if (jform_vvvvwcfvxj_required)
|
||||
if (jform_vvvvwanvxa_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',0);
|
||||
jQuery('#jform_joomla_plugin_group').prop('required','required');
|
||||
jQuery('#jform_joomla_plugin_group').attr('aria-required',true);
|
||||
jQuery('#jform_joomla_plugin_group').addClass('required');
|
||||
jform_vvvvwcfvxj_required = false;
|
||||
jform_vvvvwanvxa_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_joomla_plugin_group').closest('.control-group').hide();
|
||||
// remove required attribute from joomla_plugin_group field
|
||||
if (!jform_vvvvwcfvxj_required)
|
||||
if (!jform_vvvvwanvxa_required)
|
||||
{
|
||||
updateFieldRequired('joomla_plugin_group',1);
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('required');
|
||||
jQuery('#jform_joomla_plugin_group').removeAttr('aria-required');
|
||||
jQuery('#jform_joomla_plugin_group').removeClass('required');
|
||||
jform_vvvvwcfvxj_required = true;
|
||||
jform_vvvvwanvxa_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcf Some function
|
||||
function extension_type_vvvvwcf_SomeFunc(extension_type_vvvvwcf)
|
||||
// the vvvvwan Some function
|
||||
function extension_type_vvvvwan_SomeFunc(extension_type_vvvvwan)
|
||||
{
|
||||
// set the function logic
|
||||
if (extension_type_vvvvwcf == 'plugins' || extension_type_vvvvwcf == 'plugin')
|
||||
if (extension_type_vvvvwan == 'plugins' || extension_type_vvvvwan == 'plugin')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -11,42 +11,42 @@
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var add_php_view_vvvvwad = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwad(add_php_view_vvvvwad);
|
||||
var add_php_view_vvvvvyl = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyl(add_php_view_vvvvvyl);
|
||||
|
||||
var add_php_jview_display_vvvvwae = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvwae(add_php_jview_display_vvvvwae);
|
||||
var add_php_jview_display_vvvvvym = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvym(add_php_jview_display_vvvvvym);
|
||||
|
||||
var add_php_jview_vvvvwaf = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvwaf(add_php_jview_vvvvwaf);
|
||||
var add_php_jview_vvvvvyn = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyn(add_php_jview_vvvvvyn);
|
||||
|
||||
var add_php_document_vvvvwag = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvwag(add_php_document_vvvvwag);
|
||||
var add_php_document_vvvvvyo = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyo(add_php_document_vvvvvyo);
|
||||
|
||||
var add_css_document_vvvvwah = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvwah(add_css_document_vvvvwah);
|
||||
var add_css_document_vvvvvyp = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyp(add_css_document_vvvvvyp);
|
||||
|
||||
var add_javascript_file_vvvvwai = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvwai(add_javascript_file_vvvvwai);
|
||||
var add_javascript_file_vvvvvyq = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvyq(add_javascript_file_vvvvvyq);
|
||||
|
||||
var add_js_document_vvvvwaj = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvwaj(add_js_document_vvvvwaj);
|
||||
var add_js_document_vvvvvyr = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvyr(add_js_document_vvvvvyr);
|
||||
|
||||
var add_custom_button_vvvvwak = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwak(add_custom_button_vvvvwak);
|
||||
var add_custom_button_vvvvvys = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvys(add_custom_button_vvvvvys);
|
||||
|
||||
var add_css_vvvvwal = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvwal(add_css_vvvvwal);
|
||||
var add_css_vvvvvyt = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvyt(add_css_vvvvvyt);
|
||||
|
||||
var add_php_ajax_vvvvwam = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvwam(add_php_ajax_vvvvwam);
|
||||
var add_php_ajax_vvvvvyu = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvyu(add_php_ajax_vvvvvyu);
|
||||
});
|
||||
|
||||
// the vvvvwad function
|
||||
function vvvvwad(add_php_view_vvvvwad)
|
||||
// the vvvvvyl function
|
||||
function vvvvvyl(add_php_view_vvvvvyl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvwad == 1)
|
||||
if (add_php_view_vvvvvyl == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -56,11 +56,11 @@ function vvvvwad(add_php_view_vvvvwad)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwae function
|
||||
function vvvvwae(add_php_jview_display_vvvvwae)
|
||||
// the vvvvvym function
|
||||
function vvvvvym(add_php_jview_display_vvvvvym)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvwae == 1)
|
||||
if (add_php_jview_display_vvvvvym == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -70,11 +70,11 @@ function vvvvwae(add_php_jview_display_vvvvwae)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaf function
|
||||
function vvvvwaf(add_php_jview_vvvvwaf)
|
||||
// the vvvvvyn function
|
||||
function vvvvvyn(add_php_jview_vvvvvyn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvwaf == 1)
|
||||
if (add_php_jview_vvvvvyn == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -84,11 +84,11 @@ function vvvvwaf(add_php_jview_vvvvwaf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwag function
|
||||
function vvvvwag(add_php_document_vvvvwag)
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_php_document_vvvvvyo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvwag == 1)
|
||||
if (add_php_document_vvvvvyo == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -98,11 +98,11 @@ function vvvvwag(add_php_document_vvvvwag)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwah function
|
||||
function vvvvwah(add_css_document_vvvvwah)
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_css_document_vvvvvyp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvwah == 1)
|
||||
if (add_css_document_vvvvvyp == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -112,11 +112,11 @@ function vvvvwah(add_css_document_vvvvwah)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwai function
|
||||
function vvvvwai(add_javascript_file_vvvvwai)
|
||||
// the vvvvvyq function
|
||||
function vvvvvyq(add_javascript_file_vvvvvyq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvwai == 1)
|
||||
if (add_javascript_file_vvvvvyq == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -126,11 +126,11 @@ function vvvvwai(add_javascript_file_vvvvwai)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaj function
|
||||
function vvvvwaj(add_js_document_vvvvwaj)
|
||||
// the vvvvvyr function
|
||||
function vvvvvyr(add_js_document_vvvvvyr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvwaj == 1)
|
||||
if (add_js_document_vvvvvyr == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -140,11 +140,11 @@ function vvvvwaj(add_js_document_vvvvwaj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwak function
|
||||
function vvvvwak(add_custom_button_vvvvwak)
|
||||
// the vvvvvys function
|
||||
function vvvvvys(add_custom_button_vvvvvys)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvwak == 1)
|
||||
if (add_custom_button_vvvvvys == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
@ -158,11 +158,11 @@ function vvvvwak(add_custom_button_vvvvwak)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwal function
|
||||
function vvvvwal(add_css_vvvvwal)
|
||||
// the vvvvvyt function
|
||||
function vvvvvyt(add_css_vvvvvyt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvwal == 1)
|
||||
if (add_css_vvvvvyt == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -172,11 +172,11 @@ function vvvvwal(add_css_vvvvwal)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwam function
|
||||
function vvvvwam(add_php_ajax_vvvvwam)
|
||||
// the vvvvvyu function
|
||||
function vvvvvyu(add_php_ajax_vvvvvyu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvwam == 1)
|
||||
if (add_php_ajax_vvvvvyu == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
|
@ -9,44 +9,44 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcbvxf_required = false;
|
||||
jform_vvvvwccvxg_required = false;
|
||||
jform_vvvvwccvxh_required = false;
|
||||
jform_vvvvwccvxi_required = false;
|
||||
jform_vvvvwajvww_required = false;
|
||||
jform_vvvvwakvwx_required = false;
|
||||
jform_vvvvwakvwy_required = false;
|
||||
jform_vvvvwakvwz_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcb(target_vvvvwcb);
|
||||
var target_vvvvwaj = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwaj(target_vvvvwaj);
|
||||
|
||||
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcc(target_vvvvwcc);
|
||||
var target_vvvvwak = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwak(target_vvvvwak);
|
||||
|
||||
var target_vvvvwcd = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwcd = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwcd(target_vvvvwcd,type_vvvvwcd);
|
||||
var target_vvvvwal = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwal = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwal(target_vvvvwal,type_vvvvwal);
|
||||
|
||||
var type_vvvvwce = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwce = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwce(type_vvvvwce,target_vvvvwce);
|
||||
var type_vvvvwam = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwam = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwam(type_vvvvwam,target_vvvvwam);
|
||||
});
|
||||
|
||||
// the vvvvwcb function
|
||||
function vvvvwcb(target_vvvvwcb)
|
||||
// the vvvvwaj function
|
||||
function vvvvwaj(target_vvvvwaj)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcb == 2)
|
||||
if (target_vvvvwaj == 2)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').show();
|
||||
// add required attribute to function_name field
|
||||
if (jform_vvvvwcbvxf_required)
|
||||
if (jform_vvvvwajvww_required)
|
||||
{
|
||||
updateFieldRequired('function_name',0);
|
||||
jQuery('#jform_function_name').prop('required','required');
|
||||
jQuery('#jform_function_name').attr('aria-required',true);
|
||||
jQuery('#jform_function_name').addClass('required');
|
||||
jform_vvvvwcbvxf_required = false;
|
||||
jform_vvvvwajvww_required = false;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').show();
|
||||
jQuery('#jform_system_name').closest('.control-group').show();
|
||||
@ -55,102 +55,102 @@ function vvvvwcb(target_vvvvwcb)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').hide();
|
||||
// remove required attribute from function_name field
|
||||
if (!jform_vvvvwcbvxf_required)
|
||||
if (!jform_vvvvwajvww_required)
|
||||
{
|
||||
updateFieldRequired('function_name',1);
|
||||
jQuery('#jform_function_name').removeAttr('required');
|
||||
jQuery('#jform_function_name').removeAttr('aria-required');
|
||||
jQuery('#jform_function_name').removeClass('required');
|
||||
jform_vvvvwcbvxf_required = true;
|
||||
jform_vvvvwajvww_required = true;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').hide();
|
||||
jQuery('#jform_system_name').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcc function
|
||||
function vvvvwcc(target_vvvvwcc)
|
||||
// the vvvvwak function
|
||||
function vvvvwak(target_vvvvwak)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcc == 1)
|
||||
if (target_vvvvwak == 1)
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').show();
|
||||
// add required attribute to component field
|
||||
if (jform_vvvvwccvxg_required)
|
||||
if (jform_vvvvwakvwx_required)
|
||||
{
|
||||
updateFieldRequired('component',0);
|
||||
jQuery('#jform_component').prop('required','required');
|
||||
jQuery('#jform_component').attr('aria-required',true);
|
||||
jQuery('#jform_component').addClass('required');
|
||||
jform_vvvvwccvxg_required = false;
|
||||
jform_vvvvwakvwx_required = false;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwccvxh_required)
|
||||
if (jform_vvvvwakvwy_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwccvxh_required = false;
|
||||
jform_vvvvwakvwy_required = false;
|
||||
}
|
||||
jQuery('#jform_from_line').closest('.control-group').show();
|
||||
jQuery('#jform_hashtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
jQuery('#jform_type').closest('.control-group').show();
|
||||
// add required attribute to type field
|
||||
if (jform_vvvvwccvxi_required)
|
||||
if (jform_vvvvwakvwz_required)
|
||||
{
|
||||
updateFieldRequired('type',0);
|
||||
jQuery('#jform_type').prop('required','required');
|
||||
jQuery('#jform_type').attr('aria-required',true);
|
||||
jQuery('#jform_type').addClass('required');
|
||||
jform_vvvvwccvxi_required = false;
|
||||
jform_vvvvwakvwz_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').hide();
|
||||
// remove required attribute from component field
|
||||
if (!jform_vvvvwccvxg_required)
|
||||
if (!jform_vvvvwakvwx_required)
|
||||
{
|
||||
updateFieldRequired('component',1);
|
||||
jQuery('#jform_component').removeAttr('required');
|
||||
jQuery('#jform_component').removeAttr('aria-required');
|
||||
jQuery('#jform_component').removeClass('required');
|
||||
jform_vvvvwccvxg_required = true;
|
||||
jform_vvvvwakvwx_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwccvxh_required)
|
||||
if (!jform_vvvvwakvwy_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwccvxh_required = true;
|
||||
jform_vvvvwakvwy_required = true;
|
||||
}
|
||||
jQuery('#jform_from_line').closest('.control-group').hide();
|
||||
jQuery('#jform_hashtarget').closest('.control-group').hide();
|
||||
jQuery('#jform_to_line').closest('.control-group').hide();
|
||||
jQuery('#jform_type').closest('.control-group').hide();
|
||||
// remove required attribute from type field
|
||||
if (!jform_vvvvwccvxi_required)
|
||||
if (!jform_vvvvwakvwz_required)
|
||||
{
|
||||
updateFieldRequired('type',1);
|
||||
jQuery('#jform_type').removeAttr('required');
|
||||
jQuery('#jform_type').removeAttr('aria-required');
|
||||
jQuery('#jform_type').removeClass('required');
|
||||
jform_vvvvwccvxi_required = true;
|
||||
jform_vvvvwakvwz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcd function
|
||||
function vvvvwcd(target_vvvvwcd,type_vvvvwcd)
|
||||
// the vvvvwal function
|
||||
function vvvvwal(target_vvvvwal,type_vvvvwal)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcd == 1 && type_vvvvwcd == 1)
|
||||
if (target_vvvvwal == 1 && type_vvvvwal == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
@ -162,11 +162,11 @@ function vvvvwcd(target_vvvvwcd,type_vvvvwcd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwce function
|
||||
function vvvvwce(type_vvvvwce,target_vvvvwce)
|
||||
// the vvvvwam function
|
||||
function vvvvwam(type_vvvvwam,target_vvvvwam)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwce == 1 && target_vvvvwce == 1)
|
||||
if (type_vvvvwam == 1 && target_vvvvwam == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,62 +9,62 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwczvxo_required = false;
|
||||
jform_vvvvwdavxp_required = false;
|
||||
jform_vvvvwdbvxq_required = false;
|
||||
jform_vvvvwdcvxr_required = false;
|
||||
jform_vvvvwdfvxs_required = false;
|
||||
jform_vvvvwdfvxt_required = false;
|
||||
jform_vvvvwbhvxf_required = false;
|
||||
jform_vvvvwbivxg_required = false;
|
||||
jform_vvvvwbjvxh_required = false;
|
||||
jform_vvvvwbkvxi_required = false;
|
||||
jform_vvvvwbnvxj_required = false;
|
||||
jform_vvvvwbnvxk_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var datalenght_vvvvwcz = jQuery("#jform_datalenght").val();
|
||||
vvvvwcz(datalenght_vvvvwcz);
|
||||
var datalenght_vvvvwbh = jQuery("#jform_datalenght").val();
|
||||
vvvvwbh(datalenght_vvvvwbh);
|
||||
|
||||
var datadefault_vvvvwda = jQuery("#jform_datadefault").val();
|
||||
vvvvwda(datadefault_vvvvwda);
|
||||
var datadefault_vvvvwbi = jQuery("#jform_datadefault").val();
|
||||
vvvvwbi(datadefault_vvvvwbi);
|
||||
|
||||
var datatype_vvvvwdb = jQuery("#jform_datatype").val();
|
||||
vvvvwdb(datatype_vvvvwdb);
|
||||
var datatype_vvvvwbj = jQuery("#jform_datatype").val();
|
||||
vvvvwbj(datatype_vvvvwbj);
|
||||
|
||||
var datatype_vvvvwdc = jQuery("#jform_datatype").val();
|
||||
vvvvwdc(datatype_vvvvwdc);
|
||||
var datatype_vvvvwbk = jQuery("#jform_datatype").val();
|
||||
vvvvwbk(datatype_vvvvwbk);
|
||||
|
||||
var store_vvvvwdd = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwdd = jQuery("#jform_datatype").val();
|
||||
vvvvwdd(store_vvvvwdd,datatype_vvvvwdd);
|
||||
var store_vvvvwbl = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwbl = jQuery("#jform_datatype").val();
|
||||
vvvvwbl(store_vvvvwbl,datatype_vvvvwbl);
|
||||
|
||||
var store_vvvvwdf = jQuery("#jform_store").val();
|
||||
vvvvwdf(store_vvvvwdf);
|
||||
var store_vvvvwbn = jQuery("#jform_store").val();
|
||||
vvvvwbn(store_vvvvwbn);
|
||||
|
||||
var add_css_view_vvvvwdg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwdg(add_css_view_vvvvwdg);
|
||||
var add_css_view_vvvvwbo = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwbo(add_css_view_vvvvwbo);
|
||||
|
||||
var add_css_views_vvvvwdh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwdh(add_css_views_vvvvwdh);
|
||||
var add_css_views_vvvvwbp = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwbp(add_css_views_vvvvwbp);
|
||||
|
||||
var add_javascript_view_footer_vvvvwdi = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwdi(add_javascript_view_footer_vvvvwdi);
|
||||
var add_javascript_view_footer_vvvvwbq = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwbq(add_javascript_view_footer_vvvvwbq);
|
||||
|
||||
var add_javascript_views_footer_vvvvwdj = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwdj(add_javascript_views_footer_vvvvwdj);
|
||||
var add_javascript_views_footer_vvvvwbr = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwbr(add_javascript_views_footer_vvvvwbr);
|
||||
});
|
||||
|
||||
// the vvvvwcz function
|
||||
function vvvvwcz(datalenght_vvvvwcz)
|
||||
// the vvvvwbh function
|
||||
function vvvvwbh(datalenght_vvvvwbh)
|
||||
{
|
||||
if (isSet(datalenght_vvvvwcz) && datalenght_vvvvwcz.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvwbh) && datalenght_vvvvwbh.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcz = datalenght_vvvvwcz;
|
||||
var datalenght_vvvvwcz = [];
|
||||
datalenght_vvvvwcz.push(temp_vvvvwcz);
|
||||
var temp_vvvvwbh = datalenght_vvvvwbh;
|
||||
var datalenght_vvvvwbh = [];
|
||||
datalenght_vvvvwbh.push(temp_vvvvwbh);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvwcz))
|
||||
else if (!isSet(datalenght_vvvvwbh))
|
||||
{
|
||||
var datalenght_vvvvwcz = [];
|
||||
var datalenght_vvvvwbh = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvwcz.some(datalenght_vvvvwcz_SomeFunc);
|
||||
var datalenght = datalenght_vvvvwbh.some(datalenght_vvvvwbh_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -72,55 +72,55 @@ function vvvvwcz(datalenght_vvvvwcz)
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').show();
|
||||
// add required attribute to datalenght_other field
|
||||
if (jform_vvvvwczvxo_required)
|
||||
if (jform_vvvvwbhvxf_required)
|
||||
{
|
||||
updateFieldRequired('datalenght_other',0);
|
||||
jQuery('#jform_datalenght_other').prop('required','required');
|
||||
jQuery('#jform_datalenght_other').attr('aria-required',true);
|
||||
jQuery('#jform_datalenght_other').addClass('required');
|
||||
jform_vvvvwczvxo_required = false;
|
||||
jform_vvvvwbhvxf_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght_other field
|
||||
if (!jform_vvvvwczvxo_required)
|
||||
if (!jform_vvvvwbhvxf_required)
|
||||
{
|
||||
updateFieldRequired('datalenght_other',1);
|
||||
jQuery('#jform_datalenght_other').removeAttr('required');
|
||||
jQuery('#jform_datalenght_other').removeAttr('aria-required');
|
||||
jQuery('#jform_datalenght_other').removeClass('required');
|
||||
jform_vvvvwczvxo_required = true;
|
||||
jform_vvvvwbhvxf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcz Some function
|
||||
function datalenght_vvvvwcz_SomeFunc(datalenght_vvvvwcz)
|
||||
// the vvvvwbh Some function
|
||||
function datalenght_vvvvwbh_SomeFunc(datalenght_vvvvwbh)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvwcz == 'Other')
|
||||
if (datalenght_vvvvwbh == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwda function
|
||||
function vvvvwda(datadefault_vvvvwda)
|
||||
// the vvvvwbi function
|
||||
function vvvvwbi(datadefault_vvvvwbi)
|
||||
{
|
||||
if (isSet(datadefault_vvvvwda) && datadefault_vvvvwda.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvwbi) && datadefault_vvvvwbi.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwda = datadefault_vvvvwda;
|
||||
var datadefault_vvvvwda = [];
|
||||
datadefault_vvvvwda.push(temp_vvvvwda);
|
||||
var temp_vvvvwbi = datadefault_vvvvwbi;
|
||||
var datadefault_vvvvwbi = [];
|
||||
datadefault_vvvvwbi.push(temp_vvvvwbi);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvwda))
|
||||
else if (!isSet(datadefault_vvvvwbi))
|
||||
{
|
||||
var datadefault_vvvvwda = [];
|
||||
var datadefault_vvvvwbi = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvwda.some(datadefault_vvvvwda_SomeFunc);
|
||||
var datadefault = datadefault_vvvvwbi.some(datadefault_vvvvwbi_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -128,55 +128,55 @@ function vvvvwda(datadefault_vvvvwda)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
// add required attribute to datadefault_other field
|
||||
if (jform_vvvvwdavxp_required)
|
||||
if (jform_vvvvwbivxg_required)
|
||||
{
|
||||
updateFieldRequired('datadefault_other',0);
|
||||
jQuery('#jform_datadefault_other').prop('required','required');
|
||||
jQuery('#jform_datadefault_other').attr('aria-required',true);
|
||||
jQuery('#jform_datadefault_other').addClass('required');
|
||||
jform_vvvvwdavxp_required = false;
|
||||
jform_vvvvwbivxg_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
// remove required attribute from datadefault_other field
|
||||
if (!jform_vvvvwdavxp_required)
|
||||
if (!jform_vvvvwbivxg_required)
|
||||
{
|
||||
updateFieldRequired('datadefault_other',1);
|
||||
jQuery('#jform_datadefault_other').removeAttr('required');
|
||||
jQuery('#jform_datadefault_other').removeAttr('aria-required');
|
||||
jQuery('#jform_datadefault_other').removeClass('required');
|
||||
jform_vvvvwdavxp_required = true;
|
||||
jform_vvvvwbivxg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwda Some function
|
||||
function datadefault_vvvvwda_SomeFunc(datadefault_vvvvwda)
|
||||
// the vvvvwbi Some function
|
||||
function datadefault_vvvvwbi_SomeFunc(datadefault_vvvvwbi)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvwda == 'Other')
|
||||
if (datadefault_vvvvwbi == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdb function
|
||||
function vvvvwdb(datatype_vvvvwdb)
|
||||
// the vvvvwbj function
|
||||
function vvvvwbj(datatype_vvvvwbj)
|
||||
{
|
||||
if (isSet(datatype_vvvvwdb) && datatype_vvvvwdb.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwbj) && datatype_vvvvwbj.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdb = datatype_vvvvwdb;
|
||||
var datatype_vvvvwdb = [];
|
||||
datatype_vvvvwdb.push(temp_vvvvwdb);
|
||||
var temp_vvvvwbj = datatype_vvvvwbj;
|
||||
var datatype_vvvvwbj = [];
|
||||
datatype_vvvvwbj.push(temp_vvvvwbj);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwdb))
|
||||
else if (!isSet(datatype_vvvvwbj))
|
||||
{
|
||||
var datatype_vvvvwdb = [];
|
||||
var datatype_vvvvwbj = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwdb.some(datatype_vvvvwdb_SomeFunc);
|
||||
var datatype = datatype_vvvvwbj.some(datatype_vvvvwbj_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -185,13 +185,13 @@ function vvvvwdb(datatype_vvvvwdb)
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
// add required attribute to indexes field
|
||||
if (jform_vvvvwdbvxq_required)
|
||||
if (jform_vvvvwbjvxh_required)
|
||||
{
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvwdbvxq_required = false;
|
||||
jform_vvvvwbjvxh_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -199,42 +199,42 @@ function vvvvwdb(datatype_vvvvwdb)
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
// remove required attribute from indexes field
|
||||
if (!jform_vvvvwdbvxq_required)
|
||||
if (!jform_vvvvwbjvxh_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwdbvxq_required = true;
|
||||
jform_vvvvwbjvxh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdb Some function
|
||||
function datatype_vvvvwdb_SomeFunc(datatype_vvvvwdb)
|
||||
// the vvvvwbj Some function
|
||||
function datatype_vvvvwbj_SomeFunc(datatype_vvvvwbj)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwdb == 'CHAR' || datatype_vvvvwdb == 'VARCHAR' || datatype_vvvvwdb == 'DATETIME' || datatype_vvvvwdb == 'DATE' || datatype_vvvvwdb == 'TIME' || datatype_vvvvwdb == 'INT' || datatype_vvvvwdb == 'TINYINT' || datatype_vvvvwdb == 'BIGINT' || datatype_vvvvwdb == 'FLOAT' || datatype_vvvvwdb == 'DECIMAL' || datatype_vvvvwdb == 'DOUBLE')
|
||||
if (datatype_vvvvwbj == 'CHAR' || datatype_vvvvwbj == 'VARCHAR' || datatype_vvvvwbj == 'DATETIME' || datatype_vvvvwbj == 'DATE' || datatype_vvvvwbj == 'TIME' || datatype_vvvvwbj == 'INT' || datatype_vvvvwbj == 'TINYINT' || datatype_vvvvwbj == 'BIGINT' || datatype_vvvvwbj == 'FLOAT' || datatype_vvvvwbj == 'DECIMAL' || datatype_vvvvwbj == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdc function
|
||||
function vvvvwdc(datatype_vvvvwdc)
|
||||
// the vvvvwbk function
|
||||
function vvvvwbk(datatype_vvvvwbk)
|
||||
{
|
||||
if (isSet(datatype_vvvvwdc) && datatype_vvvvwdc.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwbk) && datatype_vvvvwbk.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdc = datatype_vvvvwdc;
|
||||
var datatype_vvvvwdc = [];
|
||||
datatype_vvvvwdc.push(temp_vvvvwdc);
|
||||
var temp_vvvvwbk = datatype_vvvvwbk;
|
||||
var datatype_vvvvwbk = [];
|
||||
datatype_vvvvwbk.push(temp_vvvvwbk);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwdc))
|
||||
else if (!isSet(datatype_vvvvwbk))
|
||||
{
|
||||
var datatype_vvvvwdc = [];
|
||||
var datatype_vvvvwbk = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwdc.some(datatype_vvvvwdc_SomeFunc);
|
||||
var datatype = datatype_vvvvwbk.some(datatype_vvvvwbk_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -242,67 +242,67 @@ function vvvvwdc(datatype_vvvvwdc)
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
// add required attribute to datalenght field
|
||||
if (jform_vvvvwdcvxr_required)
|
||||
if (jform_vvvvwbkvxi_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',0);
|
||||
jQuery('#jform_datalenght').prop('required','required');
|
||||
jQuery('#jform_datalenght').attr('aria-required',true);
|
||||
jQuery('#jform_datalenght').addClass('required');
|
||||
jform_vvvvwdcvxr_required = false;
|
||||
jform_vvvvwbkvxi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght field
|
||||
if (!jform_vvvvwdcvxr_required)
|
||||
if (!jform_vvvvwbkvxi_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',1);
|
||||
jQuery('#jform_datalenght').removeAttr('required');
|
||||
jQuery('#jform_datalenght').removeAttr('aria-required');
|
||||
jQuery('#jform_datalenght').removeClass('required');
|
||||
jform_vvvvwdcvxr_required = true;
|
||||
jform_vvvvwbkvxi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdc Some function
|
||||
function datatype_vvvvwdc_SomeFunc(datatype_vvvvwdc)
|
||||
// the vvvvwbk Some function
|
||||
function datatype_vvvvwbk_SomeFunc(datatype_vvvvwbk)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwdc == 'CHAR' || datatype_vvvvwdc == 'VARCHAR' || datatype_vvvvwdc == 'INT' || datatype_vvvvwdc == 'TINYINT' || datatype_vvvvwdc == 'BIGINT' || datatype_vvvvwdc == 'FLOAT' || datatype_vvvvwdc == 'DECIMAL' || datatype_vvvvwdc == 'DOUBLE')
|
||||
if (datatype_vvvvwbk == 'CHAR' || datatype_vvvvwbk == 'VARCHAR' || datatype_vvvvwbk == 'INT' || datatype_vvvvwbk == 'TINYINT' || datatype_vvvvwbk == 'BIGINT' || datatype_vvvvwbk == 'FLOAT' || datatype_vvvvwbk == 'DECIMAL' || datatype_vvvvwbk == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdd function
|
||||
function vvvvwdd(store_vvvvwdd,datatype_vvvvwdd)
|
||||
// the vvvvwbl function
|
||||
function vvvvwbl(store_vvvvwbl,datatype_vvvvwbl)
|
||||
{
|
||||
if (isSet(store_vvvvwdd) && store_vvvvwdd.constructor !== Array)
|
||||
if (isSet(store_vvvvwbl) && store_vvvvwbl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdd = store_vvvvwdd;
|
||||
var store_vvvvwdd = [];
|
||||
store_vvvvwdd.push(temp_vvvvwdd);
|
||||
var temp_vvvvwbl = store_vvvvwbl;
|
||||
var store_vvvvwbl = [];
|
||||
store_vvvvwbl.push(temp_vvvvwbl);
|
||||
}
|
||||
else if (!isSet(store_vvvvwdd))
|
||||
else if (!isSet(store_vvvvwbl))
|
||||
{
|
||||
var store_vvvvwdd = [];
|
||||
var store_vvvvwbl = [];
|
||||
}
|
||||
var store = store_vvvvwdd.some(store_vvvvwdd_SomeFunc);
|
||||
var store = store_vvvvwbl.some(store_vvvvwbl_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwdd) && datatype_vvvvwdd.constructor !== Array)
|
||||
if (isSet(datatype_vvvvwbl) && datatype_vvvvwbl.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdd = datatype_vvvvwdd;
|
||||
var datatype_vvvvwdd = [];
|
||||
datatype_vvvvwdd.push(temp_vvvvwdd);
|
||||
var temp_vvvvwbl = datatype_vvvvwbl;
|
||||
var datatype_vvvvwbl = [];
|
||||
datatype_vvvvwbl.push(temp_vvvvwbl);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwdd))
|
||||
else if (!isSet(datatype_vvvvwbl))
|
||||
{
|
||||
var datatype_vvvvwdd = [];
|
||||
var datatype_vvvvwbl = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwdd.some(datatype_vvvvwdd_SomeFunc);
|
||||
var datatype = datatype_vvvvwbl.some(datatype_vvvvwbl_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -316,42 +316,42 @@ function vvvvwdd(store_vvvvwdd,datatype_vvvvwdd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdd Some function
|
||||
function store_vvvvwdd_SomeFunc(store_vvvvwdd)
|
||||
// the vvvvwbl Some function
|
||||
function store_vvvvwbl_SomeFunc(store_vvvvwbl)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwdd == 4)
|
||||
if (store_vvvvwbl == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdd Some function
|
||||
function datatype_vvvvwdd_SomeFunc(datatype_vvvvwdd)
|
||||
// the vvvvwbl Some function
|
||||
function datatype_vvvvwbl_SomeFunc(datatype_vvvvwbl)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwdd == 'CHAR' || datatype_vvvvwdd == 'VARCHAR' || datatype_vvvvwdd == 'TEXT' || datatype_vvvvwdd == 'MEDIUMTEXT' || datatype_vvvvwdd == 'LONGTEXT' || datatype_vvvvwdd == 'BLOB' || datatype_vvvvwdd == 'TINYBLOB' || datatype_vvvvwdd == 'MEDIUMBLOB' || datatype_vvvvwdd == 'LONGBLOB')
|
||||
if (datatype_vvvvwbl == 'CHAR' || datatype_vvvvwbl == 'VARCHAR' || datatype_vvvvwbl == 'TEXT' || datatype_vvvvwbl == 'MEDIUMTEXT' || datatype_vvvvwbl == 'LONGTEXT' || datatype_vvvvwbl == 'BLOB' || datatype_vvvvwbl == 'TINYBLOB' || datatype_vvvvwbl == 'MEDIUMBLOB' || datatype_vvvvwbl == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdf function
|
||||
function vvvvwdf(store_vvvvwdf)
|
||||
// the vvvvwbn function
|
||||
function vvvvwbn(store_vvvvwbn)
|
||||
{
|
||||
if (isSet(store_vvvvwdf) && store_vvvvwdf.constructor !== Array)
|
||||
if (isSet(store_vvvvwbn) && store_vvvvwbn.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdf = store_vvvvwdf;
|
||||
var store_vvvvwdf = [];
|
||||
store_vvvvwdf.push(temp_vvvvwdf);
|
||||
var temp_vvvvwbn = store_vvvvwbn;
|
||||
var store_vvvvwbn = [];
|
||||
store_vvvvwbn.push(temp_vvvvwbn);
|
||||
}
|
||||
else if (!isSet(store_vvvvwdf))
|
||||
else if (!isSet(store_vvvvwbn))
|
||||
{
|
||||
var store_vvvvwdf = [];
|
||||
var store_vvvvwbn = [];
|
||||
}
|
||||
var store = store_vvvvwdf.some(store_vvvvwdf_SomeFunc);
|
||||
var store = store_vvvvwbn.some(store_vvvvwbn_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -362,23 +362,23 @@ function vvvvwdf(store_vvvvwdf)
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').show();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_get_model_field field
|
||||
if (jform_vvvvwdfvxs_required)
|
||||
if (jform_vvvvwbnvxj_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',0);
|
||||
jQuery('#jform_on_get_model_field').prop('required','required');
|
||||
jQuery('#jform_on_get_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_get_model_field').addClass('required');
|
||||
jform_vvvvwdfvxs_required = false;
|
||||
jform_vvvvwbnvxj_required = false;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').show();
|
||||
// add required attribute to on_save_model_field field
|
||||
if (jform_vvvvwdfvxt_required)
|
||||
if (jform_vvvvwbnvxk_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',0);
|
||||
jQuery('#jform_on_save_model_field').prop('required','required');
|
||||
jQuery('#jform_on_save_model_field').attr('aria-required',true);
|
||||
jQuery('#jform_on_save_model_field').addClass('required');
|
||||
jform_vvvvwdfvxt_required = false;
|
||||
jform_vvvvwbnvxk_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -388,43 +388,43 @@ function vvvvwdf(store_vvvvwdf)
|
||||
jQuery('.note_expert_field_save_mode').closest('.control-group').hide();
|
||||
jQuery('#jform_on_get_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_get_model_field field
|
||||
if (!jform_vvvvwdfvxs_required)
|
||||
if (!jform_vvvvwbnvxj_required)
|
||||
{
|
||||
updateFieldRequired('on_get_model_field',1);
|
||||
jQuery('#jform_on_get_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_get_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_get_model_field').removeClass('required');
|
||||
jform_vvvvwdfvxs_required = true;
|
||||
jform_vvvvwbnvxj_required = true;
|
||||
}
|
||||
jQuery('#jform_on_save_model_field').closest('.control-group').hide();
|
||||
// remove required attribute from on_save_model_field field
|
||||
if (!jform_vvvvwdfvxt_required)
|
||||
if (!jform_vvvvwbnvxk_required)
|
||||
{
|
||||
updateFieldRequired('on_save_model_field',1);
|
||||
jQuery('#jform_on_save_model_field').removeAttr('required');
|
||||
jQuery('#jform_on_save_model_field').removeAttr('aria-required');
|
||||
jQuery('#jform_on_save_model_field').removeClass('required');
|
||||
jform_vvvvwdfvxt_required = true;
|
||||
jform_vvvvwbnvxk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdf Some function
|
||||
function store_vvvvwdf_SomeFunc(store_vvvvwdf)
|
||||
// the vvvvwbn Some function
|
||||
function store_vvvvwbn_SomeFunc(store_vvvvwbn)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwdf == 6)
|
||||
if (store_vvvvwbn == 6)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdg function
|
||||
function vvvvwdg(add_css_view_vvvvwdg)
|
||||
// the vvvvwbo function
|
||||
function vvvvwbo(add_css_view_vvvvwbo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwdg == 1)
|
||||
if (add_css_view_vvvvwbo == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -434,11 +434,11 @@ function vvvvwdg(add_css_view_vvvvwdg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdh function
|
||||
function vvvvwdh(add_css_views_vvvvwdh)
|
||||
// the vvvvwbp function
|
||||
function vvvvwbp(add_css_views_vvvvwbp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvwdh == 1)
|
||||
if (add_css_views_vvvvwbp == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -448,11 +448,11 @@ function vvvvwdh(add_css_views_vvvvwdh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdi function
|
||||
function vvvvwdi(add_javascript_view_footer_vvvvwdi)
|
||||
// the vvvvwbq function
|
||||
function vvvvwbq(add_javascript_view_footer_vvvvwbq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvwdi == 1)
|
||||
if (add_javascript_view_footer_vvvvwbq == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -462,11 +462,11 @@ function vvvvwdi(add_javascript_view_footer_vvvvwdi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdj function
|
||||
function vvvvwdj(add_javascript_views_footer_vvvvwdj)
|
||||
// the vvvvwbr function
|
||||
function vvvvwbr(add_javascript_views_footer_vvvvwbr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwdj == 1)
|
||||
if (add_javascript_views_footer_vvvvwbr == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,112 +9,112 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvweivyn_required = false;
|
||||
jform_vvvvwejvyo_required = false;
|
||||
jform_vvvvwekvyp_required = false;
|
||||
jform_vvvvwelvyq_required = false;
|
||||
jform_vvvvwenvyr_required = false;
|
||||
jform_vvvvwcqvye_required = false;
|
||||
jform_vvvvwcrvyf_required = false;
|
||||
jform_vvvvwcsvyg_required = false;
|
||||
jform_vvvvwctvyh_required = false;
|
||||
jform_vvvvwcvvyi_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var location_vvvvwei = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwei(location_vvvvwei);
|
||||
var location_vvvvwcq = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcq(location_vvvvwcq);
|
||||
|
||||
var location_vvvvwej = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwej(location_vvvvwej);
|
||||
var location_vvvvwcr = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwcr(location_vvvvwcr);
|
||||
|
||||
var type_vvvvwek = jQuery("#jform_type").val();
|
||||
vvvvwek(type_vvvvwek);
|
||||
var type_vvvvwcs = jQuery("#jform_type").val();
|
||||
vvvvwcs(type_vvvvwcs);
|
||||
|
||||
var type_vvvvwel = jQuery("#jform_type").val();
|
||||
vvvvwel(type_vvvvwel);
|
||||
var type_vvvvwct = jQuery("#jform_type").val();
|
||||
vvvvwct(type_vvvvwct);
|
||||
|
||||
var type_vvvvwem = jQuery("#jform_type").val();
|
||||
vvvvwem(type_vvvvwem);
|
||||
var type_vvvvwcu = jQuery("#jform_type").val();
|
||||
vvvvwcu(type_vvvvwcu);
|
||||
|
||||
var target_vvvvwen = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwen(target_vvvvwen);
|
||||
var target_vvvvwcv = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcv(target_vvvvwcv);
|
||||
});
|
||||
|
||||
// the vvvvwei function
|
||||
function vvvvwei(location_vvvvwei)
|
||||
// the vvvvwcq function
|
||||
function vvvvwcq(location_vvvvwcq)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwei == 1)
|
||||
if (location_vvvvwcq == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
// add required attribute to admin_view field
|
||||
if (jform_vvvvweivyn_required)
|
||||
if (jform_vvvvwcqvye_required)
|
||||
{
|
||||
updateFieldRequired('admin_view',0);
|
||||
jQuery('#jform_admin_view').prop('required','required');
|
||||
jQuery('#jform_admin_view').attr('aria-required',true);
|
||||
jQuery('#jform_admin_view').addClass('required');
|
||||
jform_vvvvweivyn_required = false;
|
||||
jform_vvvvwcqvye_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
// remove required attribute from admin_view field
|
||||
if (!jform_vvvvweivyn_required)
|
||||
if (!jform_vvvvwcqvye_required)
|
||||
{
|
||||
updateFieldRequired('admin_view',1);
|
||||
jQuery('#jform_admin_view').removeAttr('required');
|
||||
jQuery('#jform_admin_view').removeAttr('aria-required');
|
||||
jQuery('#jform_admin_view').removeClass('required');
|
||||
jform_vvvvweivyn_required = true;
|
||||
jform_vvvvwcqvye_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwej function
|
||||
function vvvvwej(location_vvvvwej)
|
||||
// the vvvvwcr function
|
||||
function vvvvwcr(location_vvvvwcr)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwej == 2)
|
||||
if (location_vvvvwcr == 2)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
// add required attribute to site_view field
|
||||
if (jform_vvvvwejvyo_required)
|
||||
if (jform_vvvvwcrvyf_required)
|
||||
{
|
||||
updateFieldRequired('site_view',0);
|
||||
jQuery('#jform_site_view').prop('required','required');
|
||||
jQuery('#jform_site_view').attr('aria-required',true);
|
||||
jQuery('#jform_site_view').addClass('required');
|
||||
jform_vvvvwejvyo_required = false;
|
||||
jform_vvvvwcrvyf_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
// remove required attribute from site_view field
|
||||
if (!jform_vvvvwejvyo_required)
|
||||
if (!jform_vvvvwcrvyf_required)
|
||||
{
|
||||
updateFieldRequired('site_view',1);
|
||||
jQuery('#jform_site_view').removeAttr('required');
|
||||
jQuery('#jform_site_view').removeAttr('aria-required');
|
||||
jQuery('#jform_site_view').removeClass('required');
|
||||
jform_vvvvwejvyo_required = true;
|
||||
jform_vvvvwcrvyf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwek function
|
||||
function vvvvwek(type_vvvvwek)
|
||||
// the vvvvwcs function
|
||||
function vvvvwcs(type_vvvvwcs)
|
||||
{
|
||||
if (isSet(type_vvvvwek) && type_vvvvwek.constructor !== Array)
|
||||
if (isSet(type_vvvvwcs) && type_vvvvwcs.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwek = type_vvvvwek;
|
||||
var type_vvvvwek = [];
|
||||
type_vvvvwek.push(temp_vvvvwek);
|
||||
var temp_vvvvwcs = type_vvvvwcs;
|
||||
var type_vvvvwcs = [];
|
||||
type_vvvvwcs.push(temp_vvvvwcs);
|
||||
}
|
||||
else if (!isSet(type_vvvvwek))
|
||||
else if (!isSet(type_vvvvwcs))
|
||||
{
|
||||
var type_vvvvwek = [];
|
||||
var type_vvvvwcs = [];
|
||||
}
|
||||
var type = type_vvvvwek.some(type_vvvvwek_SomeFunc);
|
||||
var type = type_vvvvwcs.some(type_vvvvwcs_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -122,55 +122,55 @@ function vvvvwek(type_vvvvwek)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
// add required attribute to url field
|
||||
if (jform_vvvvwekvyp_required)
|
||||
if (jform_vvvvwcsvyg_required)
|
||||
{
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_vvvvwekvyp_required = false;
|
||||
jform_vvvvwcsvyg_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
// remove required attribute from url field
|
||||
if (!jform_vvvvwekvyp_required)
|
||||
if (!jform_vvvvwcsvyg_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_vvvvwekvyp_required = true;
|
||||
jform_vvvvwcsvyg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwek Some function
|
||||
function type_vvvvwek_SomeFunc(type_vvvvwek)
|
||||
// the vvvvwcs Some function
|
||||
function type_vvvvwcs_SomeFunc(type_vvvvwcs)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwek == 3)
|
||||
if (type_vvvvwcs == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwel function
|
||||
function vvvvwel(type_vvvvwel)
|
||||
// the vvvvwct function
|
||||
function vvvvwct(type_vvvvwct)
|
||||
{
|
||||
if (isSet(type_vvvvwel) && type_vvvvwel.constructor !== Array)
|
||||
if (isSet(type_vvvvwct) && type_vvvvwct.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwel = type_vvvvwel;
|
||||
var type_vvvvwel = [];
|
||||
type_vvvvwel.push(temp_vvvvwel);
|
||||
var temp_vvvvwct = type_vvvvwct;
|
||||
var type_vvvvwct = [];
|
||||
type_vvvvwct.push(temp_vvvvwct);
|
||||
}
|
||||
else if (!isSet(type_vvvvwel))
|
||||
else if (!isSet(type_vvvvwct))
|
||||
{
|
||||
var type_vvvvwel = [];
|
||||
var type_vvvvwct = [];
|
||||
}
|
||||
var type = type_vvvvwel.some(type_vvvvwel_SomeFunc);
|
||||
var type = type_vvvvwct.some(type_vvvvwct_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -178,55 +178,55 @@ function vvvvwel(type_vvvvwel)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
// add required attribute to article field
|
||||
if (jform_vvvvwelvyq_required)
|
||||
if (jform_vvvvwctvyh_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_vvvvwelvyq_required = false;
|
||||
jform_vvvvwctvyh_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
// remove required attribute from article field
|
||||
if (!jform_vvvvwelvyq_required)
|
||||
if (!jform_vvvvwctvyh_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_vvvvwelvyq_required = true;
|
||||
jform_vvvvwctvyh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwel Some function
|
||||
function type_vvvvwel_SomeFunc(type_vvvvwel)
|
||||
// the vvvvwct Some function
|
||||
function type_vvvvwct_SomeFunc(type_vvvvwct)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwel == 1)
|
||||
if (type_vvvvwct == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwem function
|
||||
function vvvvwem(type_vvvvwem)
|
||||
// the vvvvwcu function
|
||||
function vvvvwcu(type_vvvvwcu)
|
||||
{
|
||||
if (isSet(type_vvvvwem) && type_vvvvwem.constructor !== Array)
|
||||
if (isSet(type_vvvvwcu) && type_vvvvwcu.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwem = type_vvvvwem;
|
||||
var type_vvvvwem = [];
|
||||
type_vvvvwem.push(temp_vvvvwem);
|
||||
var temp_vvvvwcu = type_vvvvwcu;
|
||||
var type_vvvvwcu = [];
|
||||
type_vvvvwcu.push(temp_vvvvwcu);
|
||||
}
|
||||
else if (!isSet(type_vvvvwem))
|
||||
else if (!isSet(type_vvvvwcu))
|
||||
{
|
||||
var type_vvvvwem = [];
|
||||
var type_vvvvwcu = [];
|
||||
}
|
||||
var type = type_vvvvwem.some(type_vvvvwem_SomeFunc);
|
||||
var type = type_vvvvwcu.some(type_vvvvwcu_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -240,45 +240,45 @@ function vvvvwem(type_vvvvwem)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwem Some function
|
||||
function type_vvvvwem_SomeFunc(type_vvvvwem)
|
||||
// the vvvvwcu Some function
|
||||
function type_vvvvwcu_SomeFunc(type_vvvvwcu)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwem == 2)
|
||||
if (type_vvvvwcu == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwen function
|
||||
function vvvvwen(target_vvvvwen)
|
||||
// the vvvvwcv function
|
||||
function vvvvwcv(target_vvvvwcv)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwen == 1)
|
||||
if (target_vvvvwcv == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
// add required attribute to groups field
|
||||
if (jform_vvvvwenvyr_required)
|
||||
if (jform_vvvvwcvvyi_required)
|
||||
{
|
||||
updateFieldRequired('groups',0);
|
||||
jQuery('#jform_groups').prop('required','required');
|
||||
jQuery('#jform_groups').attr('aria-required',true);
|
||||
jQuery('#jform_groups').addClass('required');
|
||||
jform_vvvvwenvyr_required = false;
|
||||
jform_vvvvwcvvyi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
// remove required attribute from groups field
|
||||
if (!jform_vvvvwenvyr_required)
|
||||
if (!jform_vvvvwcvvyi_required)
|
||||
{
|
||||
updateFieldRequired('groups',1);
|
||||
jQuery('#jform_groups').removeAttr('required');
|
||||
jQuery('#jform_groups').removeAttr('aria-required');
|
||||
jQuery('#jform_groups').removeClass('required');
|
||||
jform_vvvvwenvyr_required = true;
|
||||
jform_vvvvwcvvyi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,266 +9,62 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvwbvvv_required = false;
|
||||
jform_vvvvvwcvvw_required = false;
|
||||
jform_vvvvvwevvx_required = false;
|
||||
jform_vvvvvwwvvy_required = false;
|
||||
jform_vvvvvwxvvz_required = false;
|
||||
jform_vvvvvxavwa_required = false;
|
||||
jform_vvvvvxavwb_required = false;
|
||||
jform_vvvvvxavwc_required = false;
|
||||
jform_vvvvvvwvvv_required = false;
|
||||
jform_vvvvvwevvw_required = false;
|
||||
jform_vvvvvwfvvx_required = false;
|
||||
jform_vvvvvwivvy_required = false;
|
||||
jform_vvvvvwivvz_required = false;
|
||||
jform_vvvvvwivwa_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var add_php_helper_admin_vvvvvvv = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val();
|
||||
vvvvvvv(add_php_helper_admin_vvvvvvv);
|
||||
var emptycontributors_vvvvvvv = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
|
||||
vvvvvvv(emptycontributors_vvvvvvv);
|
||||
|
||||
var add_php_helper_site_vvvvvvw = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val();
|
||||
vvvvvvw(add_php_helper_site_vvvvvvw);
|
||||
var add_license_vvvvvvw = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvvw(add_license_vvvvvvw);
|
||||
|
||||
var add_php_helper_both_vvvvvvx = jQuery("#jform_add_php_helper_both input[type='radio']:checked").val();
|
||||
vvvvvvx(add_php_helper_both_vvvvvvx);
|
||||
var add_license_vvvvvvx = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvvx(add_license_vvvvvvx);
|
||||
|
||||
var add_css_admin_vvvvvvy = jQuery("#jform_add_css_admin input[type='radio']:checked").val();
|
||||
vvvvvvy(add_css_admin_vvvvvvy);
|
||||
var update_server_target_vvvvvvy = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvvy = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvvy(update_server_target_vvvvvvy,add_update_server_vvvvvvy);
|
||||
|
||||
var add_css_site_vvvvvvz = jQuery("#jform_add_css_site input[type='radio']:checked").val();
|
||||
vvvvvvz(add_css_site_vvvvvvz);
|
||||
var add_update_server_vvvvvvz = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvvz = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvvz(add_update_server_vvvvvvz,update_server_target_vvvvvvz);
|
||||
|
||||
var add_javascript_vvvvvwa = jQuery("#jform_add_javascript input[type='radio']:checked").val();
|
||||
vvvvvwa(add_javascript_vvvvvwa);
|
||||
var update_server_target_vvvvvwa = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwa = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwa(update_server_target_vvvvvwa,add_update_server_vvvvvwa);
|
||||
|
||||
var add_sql_vvvvvwb = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvwb(add_sql_vvvvvwb);
|
||||
var update_server_target_vvvvvwc = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwc = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwc(update_server_target_vvvvvwc,add_update_server_vvvvvwc);
|
||||
|
||||
var add_sql_uninstall_vvvvvwc = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
|
||||
vvvvvwc(add_sql_uninstall_vvvvvwc);
|
||||
var add_update_server_vvvvvwe = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwe(add_update_server_vvvvvwe);
|
||||
|
||||
var emptycontributors_vvvvvwd = jQuery("#jform_emptycontributors input[type='radio']:checked").val();
|
||||
vvvvvwd(emptycontributors_vvvvvwd);
|
||||
var buildcomp_vvvvvwf = jQuery("#jform_buildcomp input[type='radio']:checked").val();
|
||||
vvvvvwf(buildcomp_vvvvvwf);
|
||||
|
||||
var add_license_vvvvvwe = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwe(add_license_vvvvvwe);
|
||||
var dashboard_type_vvvvvwg = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
||||
vvvvvwg(dashboard_type_vvvvvwg);
|
||||
|
||||
var add_admin_event_vvvvvwf = jQuery("#jform_add_admin_event input[type='radio']:checked").val();
|
||||
vvvvvwf(add_admin_event_vvvvvwf);
|
||||
var dashboard_type_vvvvvwh = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
||||
vvvvvwh(dashboard_type_vvvvvwh);
|
||||
|
||||
var add_site_event_vvvvvwg = jQuery("#jform_add_site_event input[type='radio']:checked").val();
|
||||
vvvvvwg(add_site_event_vvvvvwg);
|
||||
|
||||
var addreadme_vvvvvwh = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvwh(addreadme_vvvvvwh);
|
||||
|
||||
var add_update_server_vvvvvwi = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwi(add_update_server_vvvvvwi);
|
||||
|
||||
var add_sales_server_vvvvvwj = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvwj(add_sales_server_vvvvvwj);
|
||||
|
||||
var add_license_vvvvvwk = jQuery("#jform_add_license input[type='radio']:checked").val();
|
||||
vvvvvwk(add_license_vvvvvwk);
|
||||
|
||||
var add_php_postflight_install_vvvvvwl = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvwl(add_php_postflight_install_vvvvvwl);
|
||||
|
||||
var add_php_postflight_update_vvvvvwm = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvwm(add_php_postflight_update_vvvvvwm);
|
||||
|
||||
var add_php_method_uninstall_vvvvvwn = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvwn(add_php_method_uninstall_vvvvvwn);
|
||||
|
||||
var add_php_preflight_install_vvvvvwo = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvwo(add_php_preflight_install_vvvvvwo);
|
||||
|
||||
var add_php_preflight_update_vvvvvwp = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvwp(add_php_preflight_update_vvvvvwp);
|
||||
|
||||
var update_server_target_vvvvvwq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq);
|
||||
|
||||
var add_update_server_vvvvvwr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvwr = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr);
|
||||
|
||||
var update_server_target_vvvvvws = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvws = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws);
|
||||
|
||||
var update_server_target_vvvvvwu = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu);
|
||||
|
||||
var add_update_server_vvvvvww = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvww(add_update_server_vvvvvww);
|
||||
|
||||
var buildcomp_vvvvvwx = jQuery("#jform_buildcomp input[type='radio']:checked").val();
|
||||
vvvvvwx(buildcomp_vvvvvwx);
|
||||
|
||||
var dashboard_type_vvvvvwy = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
||||
vvvvvwy(dashboard_type_vvvvvwy);
|
||||
|
||||
var dashboard_type_vvvvvwz = jQuery("#jform_dashboard_type input[type='radio']:checked").val();
|
||||
vvvvvwz(dashboard_type_vvvvvwz);
|
||||
|
||||
var translation_tool_vvvvvxa = jQuery("#jform_translation_tool").val();
|
||||
vvvvvxa(translation_tool_vvvvvxa);
|
||||
var translation_tool_vvvvvwi = jQuery("#jform_translation_tool").val();
|
||||
vvvvvwi(translation_tool_vvvvvwi);
|
||||
});
|
||||
|
||||
// the vvvvvvv function
|
||||
function vvvvvvv(add_php_helper_admin_vvvvvvv)
|
||||
function vvvvvvv(emptycontributors_vvvvvvv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_helper_admin_vvvvvvv == 1)
|
||||
{
|
||||
jQuery('#jform_php_helper_admin-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_helper_admin-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvw function
|
||||
function vvvvvvw(add_php_helper_site_vvvvvvw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_helper_site_vvvvvvw == 1)
|
||||
{
|
||||
jQuery('#jform_php_helper_site-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_helper_site-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvx function
|
||||
function vvvvvvx(add_php_helper_both_vvvvvvx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_helper_both_vvvvvvx == 1)
|
||||
{
|
||||
jQuery('#jform_php_helper_both-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_helper_both-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvy function
|
||||
function vvvvvvy(add_css_admin_vvvvvvy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_admin_vvvvvvy == 1)
|
||||
{
|
||||
jQuery('#jform_css_admin-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_admin-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvvz function
|
||||
function vvvvvvz(add_css_site_vvvvvvz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_site_vvvvvvz == 1)
|
||||
{
|
||||
jQuery('#jform_css_site-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_css_site-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwa function
|
||||
function vvvvvwa(add_javascript_vvvvvwa)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_vvvvvwa == 1)
|
||||
{
|
||||
jQuery('#jform_javascript-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_javascript-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwb function
|
||||
function vvvvvwb(add_sql_vvvvvwb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvwb == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvwbvvv_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvwbvvv_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvwbvvv_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvwbvvv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwc function
|
||||
function vvvvvwc(add_sql_uninstall_vvvvvwc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_uninstall_vvvvvwc == 1)
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').show();
|
||||
// add required attribute to sql_uninstall field
|
||||
if (jform_vvvvvwcvvw_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',0);
|
||||
jQuery('#jform_sql_uninstall').prop('required','required');
|
||||
jQuery('#jform_sql_uninstall').attr('aria-required',true);
|
||||
jQuery('#jform_sql_uninstall').addClass('required');
|
||||
jform_vvvvvwcvvw_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').hide();
|
||||
// remove required attribute from sql_uninstall field
|
||||
if (!jform_vvvvvwcvvw_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',1);
|
||||
jQuery('#jform_sql_uninstall').removeAttr('required');
|
||||
jQuery('#jform_sql_uninstall').removeAttr('aria-required');
|
||||
jQuery('#jform_sql_uninstall').removeClass('required');
|
||||
jform_vvvvvwcvvw_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwd function
|
||||
function vvvvvwd(emptycontributors_vvvvvwd)
|
||||
{
|
||||
// set the function logic
|
||||
if (emptycontributors_vvvvvwd == 1)
|
||||
if (emptycontributors_vvvvvvv == 1)
|
||||
{
|
||||
jQuery('#jform_number').closest('.control-group').show();
|
||||
}
|
||||
@ -278,115 +74,43 @@ function vvvvvwd(emptycontributors_vvvvvwd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwe function
|
||||
function vvvvvwe(add_license_vvvvvwe)
|
||||
// the vvvvvvw function
|
||||
function vvvvvvw(add_license_vvvvvvw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_license_vvvvvwe == 1)
|
||||
if (add_license_vvvvvvw == 1)
|
||||
{
|
||||
jQuery('#jform_license_type').closest('.control-group').show();
|
||||
// add required attribute to license_type field
|
||||
if (jform_vvvvvwevvx_required)
|
||||
if (jform_vvvvvvwvvv_required)
|
||||
{
|
||||
updateFieldRequired('license_type',0);
|
||||
jQuery('#jform_license_type').prop('required','required');
|
||||
jQuery('#jform_license_type').attr('aria-required',true);
|
||||
jQuery('#jform_license_type').addClass('required');
|
||||
jform_vvvvvwevvx_required = false;
|
||||
jform_vvvvvvwvvv_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_license_type').closest('.control-group').hide();
|
||||
// remove required attribute from license_type field
|
||||
if (!jform_vvvvvwevvx_required)
|
||||
if (!jform_vvvvvvwvvv_required)
|
||||
{
|
||||
updateFieldRequired('license_type',1);
|
||||
jQuery('#jform_license_type').removeAttr('required');
|
||||
jQuery('#jform_license_type').removeAttr('aria-required');
|
||||
jQuery('#jform_license_type').removeClass('required');
|
||||
jform_vvvvvwevvx_required = true;
|
||||
jform_vvvvvvwvvv_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwf function
|
||||
function vvvvvwf(add_admin_event_vvvvvwf)
|
||||
// the vvvvvvx function
|
||||
function vvvvvvx(add_license_vvvvvvx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_admin_event_vvvvvwf == 1)
|
||||
{
|
||||
jQuery('#jform_php_admin_event-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_admin_event-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwg function
|
||||
function vvvvvwg(add_site_event_vvvvvwg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_site_event_vvvvvwg == 1)
|
||||
{
|
||||
jQuery('#jform_php_site_event-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_site_event-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwh function
|
||||
function vvvvvwh(addreadme_vvvvvwh)
|
||||
{
|
||||
// set the function logic
|
||||
if (addreadme_vvvvvwh == 1)
|
||||
{
|
||||
jQuery('.note_readme').closest('.control-group').show();
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('.note_readme').closest('.control-group').hide();
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwi function
|
||||
function vvvvvwi(add_update_server_vvvvvwi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvwi == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwj function
|
||||
function vvvvvwj(add_sales_server_vvvvvwj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sales_server_vvvvvwj == 1)
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwk function
|
||||
function vvvvvwk(add_license_vvvvvwk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_license_vvvvvwk == 1)
|
||||
if (add_license_vvvvvvx == 1)
|
||||
{
|
||||
jQuery('.note_whmcs_lisencing_note').closest('.control-group').show();
|
||||
jQuery('#jform_whmcs_key').closest('.control-group').show();
|
||||
@ -402,81 +126,11 @@ function vvvvvwk(add_license_vvvvvwk)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwl function
|
||||
function vvvvvwl(add_php_postflight_install_vvvvvwl)
|
||||
// the vvvvvvy function
|
||||
function vvvvvvy(update_server_target_vvvvvvy,add_update_server_vvvvvvy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_install_vvvvvwl == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwm function
|
||||
function vvvvvwm(add_php_postflight_update_vvvvvwm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_update_vvvvvwm == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwn function
|
||||
function vvvvvwn(add_php_method_uninstall_vvvvvwn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_method_uninstall_vvvvvwn == 1)
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwo function
|
||||
function vvvvvwo(add_php_preflight_install_vvvvvwo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_install_vvvvvwo == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwp function
|
||||
function vvvvvwp(add_php_preflight_update_vvvvvwp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_update_vvvvvwp == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwq function
|
||||
function vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwq == 1 && add_update_server_vvvvvwq == 1)
|
||||
if (update_server_target_vvvvvvy == 1 && add_update_server_vvvvvvy == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
@ -488,11 +142,11 @@ function vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwr function
|
||||
function vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr)
|
||||
// the vvvvvvz function
|
||||
function vvvvvvz(add_update_server_vvvvvvz,update_server_target_vvvvvvz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvwr == 1 && update_server_target_vvvvvwr == 1)
|
||||
if (add_update_server_vvvvvvz == 1 && update_server_target_vvvvvvz == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
@ -504,11 +158,11 @@ function vvvvvwr(add_update_server_vvvvvwr,update_server_target_vvvvvwr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvws function
|
||||
function vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws)
|
||||
// the vvvvvwa function
|
||||
function vvvvvwa(update_server_target_vvvvvwa,add_update_server_vvvvvwa)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvws == 2 && add_update_server_vvvvvws == 1)
|
||||
if (update_server_target_vvvvvwa == 2 && add_update_server_vvvvvwa == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').show();
|
||||
}
|
||||
@ -518,11 +172,11 @@ function vvvvvws(update_server_target_vvvvvws,add_update_server_vvvvvws)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwu function
|
||||
function vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu)
|
||||
// the vvvvvwc function
|
||||
function vvvvvwc(update_server_target_vvvvvwc,add_update_server_vvvvvwc)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvwu == 3 && add_update_server_vvvvvwu == 1)
|
||||
if (update_server_target_vvvvvwc == 3 && add_update_server_vvvvvwc == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').show();
|
||||
}
|
||||
@ -532,75 +186,75 @@ function vvvvvwu(update_server_target_vvvvvwu,add_update_server_vvvvvwu)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvww function
|
||||
function vvvvvww(add_update_server_vvvvvww)
|
||||
// the vvvvvwe function
|
||||
function vvvvvwe(add_update_server_vvvvvwe)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvww == 1)
|
||||
if (add_update_server_vvvvvwe == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').show();
|
||||
// add required attribute to update_server_target field
|
||||
if (jform_vvvvvwwvvy_required)
|
||||
if (jform_vvvvvwevvw_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',0);
|
||||
jQuery('#jform_update_server_target').prop('required','required');
|
||||
jQuery('#jform_update_server_target').attr('aria-required',true);
|
||||
jQuery('#jform_update_server_target').addClass('required');
|
||||
jform_vvvvvwwvvy_required = false;
|
||||
jform_vvvvvwevvw_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').hide();
|
||||
// remove required attribute from update_server_target field
|
||||
if (!jform_vvvvvwwvvy_required)
|
||||
if (!jform_vvvvvwevvw_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',1);
|
||||
jQuery('#jform_update_server_target').removeAttr('required');
|
||||
jQuery('#jform_update_server_target').removeAttr('aria-required');
|
||||
jQuery('#jform_update_server_target').removeClass('required');
|
||||
jform_vvvvvwwvvy_required = true;
|
||||
jform_vvvvvwevvw_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwx function
|
||||
function vvvvvwx(buildcomp_vvvvvwx)
|
||||
// the vvvvvwf function
|
||||
function vvvvvwf(buildcomp_vvvvvwf)
|
||||
{
|
||||
// set the function logic
|
||||
if (buildcomp_vvvvvwx == 1)
|
||||
if (buildcomp_vvvvvwf == 1)
|
||||
{
|
||||
jQuery('#jform_buildcompsql').closest('.control-group').show();
|
||||
// add required attribute to buildcompsql field
|
||||
if (jform_vvvvvwxvvz_required)
|
||||
if (jform_vvvvvwfvvx_required)
|
||||
{
|
||||
updateFieldRequired('buildcompsql',0);
|
||||
jQuery('#jform_buildcompsql').prop('required','required');
|
||||
jQuery('#jform_buildcompsql').attr('aria-required',true);
|
||||
jQuery('#jform_buildcompsql').addClass('required');
|
||||
jform_vvvvvwxvvz_required = false;
|
||||
jform_vvvvvwfvvx_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_buildcompsql').closest('.control-group').hide();
|
||||
// remove required attribute from buildcompsql field
|
||||
if (!jform_vvvvvwxvvz_required)
|
||||
if (!jform_vvvvvwfvvx_required)
|
||||
{
|
||||
updateFieldRequired('buildcompsql',1);
|
||||
jQuery('#jform_buildcompsql').removeAttr('required');
|
||||
jQuery('#jform_buildcompsql').removeAttr('aria-required');
|
||||
jQuery('#jform_buildcompsql').removeClass('required');
|
||||
jform_vvvvvwxvvz_required = true;
|
||||
jform_vvvvvwfvvx_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwy function
|
||||
function vvvvvwy(dashboard_type_vvvvvwy)
|
||||
// the vvvvvwg function
|
||||
function vvvvvwg(dashboard_type_vvvvvwg)
|
||||
{
|
||||
// set the function logic
|
||||
if (dashboard_type_vvvvvwy == 2)
|
||||
if (dashboard_type_vvvvvwg == 2)
|
||||
{
|
||||
jQuery('#jform_dashboard').closest('.control-group').show();
|
||||
jQuery('.note_dynamic_dashboard').closest('.control-group').show();
|
||||
@ -612,11 +266,11 @@ function vvvvvwy(dashboard_type_vvvvvwy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvwz function
|
||||
function vvvvvwz(dashboard_type_vvvvvwz)
|
||||
// the vvvvvwh function
|
||||
function vvvvvwh(dashboard_type_vvvvvwh)
|
||||
{
|
||||
// set the function logic
|
||||
if (dashboard_type_vvvvvwz == 1)
|
||||
if (dashboard_type_vvvvvwh == 1)
|
||||
{
|
||||
jQuery('.note_botton_component_dashboard').closest('.control-group').show();
|
||||
}
|
||||
@ -626,20 +280,20 @@ function vvvvvwz(dashboard_type_vvvvvwz)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxa function
|
||||
function vvvvvxa(translation_tool_vvvvvxa)
|
||||
// the vvvvvwi function
|
||||
function vvvvvwi(translation_tool_vvvvvwi)
|
||||
{
|
||||
if (isSet(translation_tool_vvvvvxa) && translation_tool_vvvvvxa.constructor !== Array)
|
||||
if (isSet(translation_tool_vvvvvwi) && translation_tool_vvvvvwi.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxa = translation_tool_vvvvvxa;
|
||||
var translation_tool_vvvvvxa = [];
|
||||
translation_tool_vvvvvxa.push(temp_vvvvvxa);
|
||||
var temp_vvvvvwi = translation_tool_vvvvvwi;
|
||||
var translation_tool_vvvvvwi = [];
|
||||
translation_tool_vvvvvwi.push(temp_vvvvvwi);
|
||||
}
|
||||
else if (!isSet(translation_tool_vvvvvxa))
|
||||
else if (!isSet(translation_tool_vvvvvwi))
|
||||
{
|
||||
var translation_tool_vvvvvxa = [];
|
||||
var translation_tool_vvvvvwi = [];
|
||||
}
|
||||
var translation_tool = translation_tool_vvvvvxa.some(translation_tool_vvvvvxa_SomeFunc);
|
||||
var translation_tool = translation_tool_vvvvvwi.some(translation_tool_vvvvvwi_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -649,33 +303,33 @@ function vvvvvxa(translation_tool_vvvvvxa)
|
||||
jQuery('.note_crowdin').closest('.control-group').show();
|
||||
jQuery('#jform_crowdin_project_api_key').closest('.control-group').show();
|
||||
// add required attribute to crowdin_project_api_key field
|
||||
if (jform_vvvvvxavwa_required)
|
||||
if (jform_vvvvvwivvy_required)
|
||||
{
|
||||
updateFieldRequired('crowdin_project_api_key',0);
|
||||
jQuery('#jform_crowdin_project_api_key').prop('required','required');
|
||||
jQuery('#jform_crowdin_project_api_key').attr('aria-required',true);
|
||||
jQuery('#jform_crowdin_project_api_key').addClass('required');
|
||||
jform_vvvvvxavwa_required = false;
|
||||
jform_vvvvvwivvy_required = false;
|
||||
}
|
||||
jQuery('#jform_crowdin_project_identifier').closest('.control-group').show();
|
||||
// add required attribute to crowdin_project_identifier field
|
||||
if (jform_vvvvvxavwb_required)
|
||||
if (jform_vvvvvwivvz_required)
|
||||
{
|
||||
updateFieldRequired('crowdin_project_identifier',0);
|
||||
jQuery('#jform_crowdin_project_identifier').prop('required','required');
|
||||
jQuery('#jform_crowdin_project_identifier').attr('aria-required',true);
|
||||
jQuery('#jform_crowdin_project_identifier').addClass('required');
|
||||
jform_vvvvvxavwb_required = false;
|
||||
jform_vvvvvwivvz_required = false;
|
||||
}
|
||||
jQuery('#jform_crowdin_username').closest('.control-group').show();
|
||||
// add required attribute to crowdin_username field
|
||||
if (jform_vvvvvxavwc_required)
|
||||
if (jform_vvvvvwivwa_required)
|
||||
{
|
||||
updateFieldRequired('crowdin_username',0);
|
||||
jQuery('#jform_crowdin_username').prop('required','required');
|
||||
jQuery('#jform_crowdin_username').attr('aria-required',true);
|
||||
jQuery('#jform_crowdin_username').addClass('required');
|
||||
jform_vvvvvxavwc_required = false;
|
||||
jform_vvvvvwivwa_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -684,42 +338,42 @@ function vvvvvxa(translation_tool_vvvvvxa)
|
||||
jQuery('.note_crowdin').closest('.control-group').hide();
|
||||
jQuery('#jform_crowdin_project_api_key').closest('.control-group').hide();
|
||||
// remove required attribute from crowdin_project_api_key field
|
||||
if (!jform_vvvvvxavwa_required)
|
||||
if (!jform_vvvvvwivvy_required)
|
||||
{
|
||||
updateFieldRequired('crowdin_project_api_key',1);
|
||||
jQuery('#jform_crowdin_project_api_key').removeAttr('required');
|
||||
jQuery('#jform_crowdin_project_api_key').removeAttr('aria-required');
|
||||
jQuery('#jform_crowdin_project_api_key').removeClass('required');
|
||||
jform_vvvvvxavwa_required = true;
|
||||
jform_vvvvvwivvy_required = true;
|
||||
}
|
||||
jQuery('#jform_crowdin_project_identifier').closest('.control-group').hide();
|
||||
// remove required attribute from crowdin_project_identifier field
|
||||
if (!jform_vvvvvxavwb_required)
|
||||
if (!jform_vvvvvwivvz_required)
|
||||
{
|
||||
updateFieldRequired('crowdin_project_identifier',1);
|
||||
jQuery('#jform_crowdin_project_identifier').removeAttr('required');
|
||||
jQuery('#jform_crowdin_project_identifier').removeAttr('aria-required');
|
||||
jQuery('#jform_crowdin_project_identifier').removeClass('required');
|
||||
jform_vvvvvxavwb_required = true;
|
||||
jform_vvvvvwivvz_required = true;
|
||||
}
|
||||
jQuery('#jform_crowdin_username').closest('.control-group').hide();
|
||||
// remove required attribute from crowdin_username field
|
||||
if (!jform_vvvvvxavwc_required)
|
||||
if (!jform_vvvvvwivwa_required)
|
||||
{
|
||||
updateFieldRequired('crowdin_username',1);
|
||||
jQuery('#jform_crowdin_username').removeAttr('required');
|
||||
jQuery('#jform_crowdin_username').removeAttr('aria-required');
|
||||
jQuery('#jform_crowdin_username').removeClass('required');
|
||||
jform_vvvvvxavwc_required = true;
|
||||
jform_vvvvvwivwa_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxa Some function
|
||||
function translation_tool_vvvvvxa_SomeFunc(translation_tool_vvvvvxa)
|
||||
// the vvvvvwi Some function
|
||||
function translation_tool_vvvvvwi_SomeFunc(translation_tool_vvvvvwi)
|
||||
{
|
||||
// set the function logic
|
||||
if (translation_tool_vvvvvxa == 1)
|
||||
if (translation_tool_vvvvvwi == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -8,91 +8,47 @@
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvxrvwd_required = false;
|
||||
jform_vvvvvxsvwe_required = false;
|
||||
jform_vvvvvxtvwf_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var add_class_helper_vvvvvxb = jQuery("#jform_add_class_helper").val();
|
||||
vvvvvxb(add_class_helper_vvvvvxb);
|
||||
var add_class_helper_vvvvvwj = jQuery("#jform_add_class_helper").val();
|
||||
vvvvvwj(add_class_helper_vvvvvwj);
|
||||
|
||||
var add_class_helper_header_vvvvvxc = jQuery("#jform_add_class_helper_header input[type='radio']:checked").val();
|
||||
var add_class_helper_vvvvvxc = jQuery("#jform_add_class_helper").val();
|
||||
vvvvvxc(add_class_helper_header_vvvvvxc,add_class_helper_vvvvvxc);
|
||||
var add_class_helper_header_vvvvvwk = jQuery("#jform_add_class_helper_header input[type='radio']:checked").val();
|
||||
var add_class_helper_vvvvvwk = jQuery("#jform_add_class_helper").val();
|
||||
vvvvvwk(add_class_helper_header_vvvvvwk,add_class_helper_vvvvvwk);
|
||||
|
||||
var add_php_script_construct_vvvvvxe = jQuery("#jform_add_php_script_construct input[type='radio']:checked").val();
|
||||
vvvvvxe(add_php_script_construct_vvvvvxe);
|
||||
var update_server_target_vvvvvwm = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwm = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwm(update_server_target_vvvvvwm,add_update_server_vvvvvwm);
|
||||
|
||||
var add_php_preflight_install_vvvvvxf = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvxf(add_php_preflight_install_vvvvvxf);
|
||||
var add_update_server_vvvvvwn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvwn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvwn(add_update_server_vvvvvwn,update_server_target_vvvvvwn);
|
||||
|
||||
var add_php_preflight_update_vvvvvxg = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvxg(add_php_preflight_update_vvvvvxg);
|
||||
var update_server_target_vvvvvwo = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwo(update_server_target_vvvvvwo,add_update_server_vvvvvwo);
|
||||
|
||||
var add_php_preflight_uninstall_vvvvvxh = jQuery("#jform_add_php_preflight_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxh(add_php_preflight_uninstall_vvvvvxh);
|
||||
|
||||
var add_php_postflight_install_vvvvvxi = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvxi(add_php_postflight_install_vvvvvxi);
|
||||
|
||||
var add_php_postflight_update_vvvvvxj = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvxj(add_php_postflight_update_vvvvvxj);
|
||||
|
||||
var add_php_method_uninstall_vvvvvxk = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxk(add_php_method_uninstall_vvvvvxk);
|
||||
|
||||
var update_server_target_vvvvvxl = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxl = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxl(update_server_target_vvvvvxl,add_update_server_vvvvvxl);
|
||||
|
||||
var add_update_server_vvvvvxm = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvxm = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvxm(add_update_server_vvvvvxm,update_server_target_vvvvvxm);
|
||||
|
||||
var update_server_target_vvvvvxn = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxn = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxn(update_server_target_vvvvvxn,add_update_server_vvvvvxn);
|
||||
|
||||
var update_server_target_vvvvvxp = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxp = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxp(update_server_target_vvvvvxp,add_update_server_vvvvvxp);
|
||||
|
||||
var add_update_server_vvvvvxr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxr(add_update_server_vvvvvxr);
|
||||
|
||||
var add_sql_vvvvvxs = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvxs(add_sql_vvvvvxs);
|
||||
|
||||
var add_sql_uninstall_vvvvvxt = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
|
||||
vvvvvxt(add_sql_uninstall_vvvvvxt);
|
||||
|
||||
var add_update_server_vvvvvxu = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxu(add_update_server_vvvvvxu);
|
||||
|
||||
var add_sales_server_vvvvvxv = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvxv(add_sales_server_vvvvvxv);
|
||||
|
||||
var addreadme_vvvvvxw = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvxw(addreadme_vvvvvxw);
|
||||
var update_server_target_vvvvvwq = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwq = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq);
|
||||
});
|
||||
|
||||
// the vvvvvxb function
|
||||
function vvvvvxb(add_class_helper_vvvvvxb)
|
||||
// the vvvvvwj function
|
||||
function vvvvvwj(add_class_helper_vvvvvwj)
|
||||
{
|
||||
if (isSet(add_class_helper_vvvvvxb) && add_class_helper_vvvvvxb.constructor !== Array)
|
||||
if (isSet(add_class_helper_vvvvvwj) && add_class_helper_vvvvvwj.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxb = add_class_helper_vvvvvxb;
|
||||
var add_class_helper_vvvvvxb = [];
|
||||
add_class_helper_vvvvvxb.push(temp_vvvvvxb);
|
||||
var temp_vvvvvwj = add_class_helper_vvvvvwj;
|
||||
var add_class_helper_vvvvvwj = [];
|
||||
add_class_helper_vvvvvwj.push(temp_vvvvvwj);
|
||||
}
|
||||
else if (!isSet(add_class_helper_vvvvvxb))
|
||||
else if (!isSet(add_class_helper_vvvvvwj))
|
||||
{
|
||||
var add_class_helper_vvvvvxb = [];
|
||||
var add_class_helper_vvvvvwj = [];
|
||||
}
|
||||
var add_class_helper = add_class_helper_vvvvvxb.some(add_class_helper_vvvvvxb_SomeFunc);
|
||||
var add_class_helper = add_class_helper_vvvvvwj.some(add_class_helper_vvvvvwj_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -108,43 +64,43 @@ function vvvvvxb(add_class_helper_vvvvvxb)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxb Some function
|
||||
function add_class_helper_vvvvvxb_SomeFunc(add_class_helper_vvvvvxb)
|
||||
// the vvvvvwj Some function
|
||||
function add_class_helper_vvvvvwj_SomeFunc(add_class_helper_vvvvvwj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_class_helper_vvvvvxb == 1 || add_class_helper_vvvvvxb == 2)
|
||||
if (add_class_helper_vvvvvwj == 1 || add_class_helper_vvvvvwj == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvxc function
|
||||
function vvvvvxc(add_class_helper_header_vvvvvxc,add_class_helper_vvvvvxc)
|
||||
// the vvvvvwk function
|
||||
function vvvvvwk(add_class_helper_header_vvvvvwk,add_class_helper_vvvvvwk)
|
||||
{
|
||||
if (isSet(add_class_helper_header_vvvvvxc) && add_class_helper_header_vvvvvxc.constructor !== Array)
|
||||
if (isSet(add_class_helper_header_vvvvvwk) && add_class_helper_header_vvvvvwk.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxc = add_class_helper_header_vvvvvxc;
|
||||
var add_class_helper_header_vvvvvxc = [];
|
||||
add_class_helper_header_vvvvvxc.push(temp_vvvvvxc);
|
||||
var temp_vvvvvwk = add_class_helper_header_vvvvvwk;
|
||||
var add_class_helper_header_vvvvvwk = [];
|
||||
add_class_helper_header_vvvvvwk.push(temp_vvvvvwk);
|
||||
}
|
||||
else if (!isSet(add_class_helper_header_vvvvvxc))
|
||||
else if (!isSet(add_class_helper_header_vvvvvwk))
|
||||
{
|
||||
var add_class_helper_header_vvvvvxc = [];
|
||||
var add_class_helper_header_vvvvvwk = [];
|
||||
}
|
||||
var add_class_helper_header = add_class_helper_header_vvvvvxc.some(add_class_helper_header_vvvvvxc_SomeFunc);
|
||||
var add_class_helper_header = add_class_helper_header_vvvvvwk.some(add_class_helper_header_vvvvvwk_SomeFunc);
|
||||
|
||||
if (isSet(add_class_helper_vvvvvxc) && add_class_helper_vvvvvxc.constructor !== Array)
|
||||
if (isSet(add_class_helper_vvvvvwk) && add_class_helper_vvvvvwk.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxc = add_class_helper_vvvvvxc;
|
||||
var add_class_helper_vvvvvxc = [];
|
||||
add_class_helper_vvvvvxc.push(temp_vvvvvxc);
|
||||
var temp_vvvvvwk = add_class_helper_vvvvvwk;
|
||||
var add_class_helper_vvvvvwk = [];
|
||||
add_class_helper_vvvvvwk.push(temp_vvvvvwk);
|
||||
}
|
||||
else if (!isSet(add_class_helper_vvvvvxc))
|
||||
else if (!isSet(add_class_helper_vvvvvwk))
|
||||
{
|
||||
var add_class_helper_vvvvvxc = [];
|
||||
var add_class_helper_vvvvvwk = [];
|
||||
}
|
||||
var add_class_helper = add_class_helper_vvvvvxc.some(add_class_helper_vvvvvxc_SomeFunc);
|
||||
var add_class_helper = add_class_helper_vvvvvwk.some(add_class_helper_vvvvvwk_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -158,131 +114,33 @@ function vvvvvxc(add_class_helper_header_vvvvvxc,add_class_helper_vvvvvxc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxc Some function
|
||||
function add_class_helper_header_vvvvvxc_SomeFunc(add_class_helper_header_vvvvvxc)
|
||||
// the vvvvvwk Some function
|
||||
function add_class_helper_header_vvvvvwk_SomeFunc(add_class_helper_header_vvvvvwk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_class_helper_header_vvvvvxc == 1)
|
||||
if (add_class_helper_header_vvvvvwk == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvxc Some function
|
||||
function add_class_helper_vvvvvxc_SomeFunc(add_class_helper_vvvvvxc)
|
||||
// the vvvvvwk Some function
|
||||
function add_class_helper_vvvvvwk_SomeFunc(add_class_helper_vvvvvwk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_class_helper_vvvvvxc == 1 || add_class_helper_vvvvvxc == 2)
|
||||
if (add_class_helper_vvvvvwk == 1 || add_class_helper_vvvvvwk == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvxe function
|
||||
function vvvvvxe(add_php_script_construct_vvvvvxe)
|
||||
// the vvvvvwm function
|
||||
function vvvvvwm(update_server_target_vvvvvwm,add_update_server_vvvvvwm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_script_construct_vvvvvxe == 1)
|
||||
{
|
||||
jQuery('#jform_php_script_construct-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_script_construct-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxf function
|
||||
function vvvvvxf(add_php_preflight_install_vvvvvxf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_install_vvvvvxf == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxg function
|
||||
function vvvvvxg(add_php_preflight_update_vvvvvxg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_update_vvvvvxg == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxh function
|
||||
function vvvvvxh(add_php_preflight_uninstall_vvvvvxh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_uninstall_vvvvvxh == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxi function
|
||||
function vvvvvxi(add_php_postflight_install_vvvvvxi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_install_vvvvvxi == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxj function
|
||||
function vvvvvxj(add_php_postflight_update_vvvvvxj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_update_vvvvvxj == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxk function
|
||||
function vvvvvxk(add_php_method_uninstall_vvvvvxk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_method_uninstall_vvvvvxk == 1)
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxl function
|
||||
function vvvvvxl(update_server_target_vvvvvxl,add_update_server_vvvvvxl)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxl == 1 && add_update_server_vvvvvxl == 1)
|
||||
if (update_server_target_vvvvvwm == 1 && add_update_server_vvvvvwm == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
@ -294,11 +152,11 @@ function vvvvvxl(update_server_target_vvvvvxl,add_update_server_vvvvvxl)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxm function
|
||||
function vvvvvxm(add_update_server_vvvvvxm,update_server_target_vvvvvxm)
|
||||
// the vvvvvwn function
|
||||
function vvvvvwn(add_update_server_vvvvvwn,update_server_target_vvvvvwn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvxm == 1 && update_server_target_vvvvvxm == 1)
|
||||
if (add_update_server_vvvvvwn == 1 && update_server_target_vvvvvwn == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
@ -310,11 +168,11 @@ function vvvvvxm(add_update_server_vvvvvxm,update_server_target_vvvvvxm)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxn function
|
||||
function vvvvvxn(update_server_target_vvvvvxn,add_update_server_vvvvvxn)
|
||||
// the vvvvvwo function
|
||||
function vvvvvwo(update_server_target_vvvvvwo,add_update_server_vvvvvwo)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxn == 2 && add_update_server_vvvvvxn == 1)
|
||||
if (update_server_target_vvvvvwo == 2 && add_update_server_vvvvvwo == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').show();
|
||||
}
|
||||
@ -324,11 +182,11 @@ function vvvvvxn(update_server_target_vvvvvxn,add_update_server_vvvvvxn)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxp function
|
||||
function vvvvvxp(update_server_target_vvvvvxp,add_update_server_vvvvvxp)
|
||||
// the vvvvvwq function
|
||||
function vvvvvwq(update_server_target_vvvvvwq,add_update_server_vvvvvwq)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvxp == 3 && add_update_server_vvvvvxp == 1)
|
||||
if (update_server_target_vvvvvwq == 3 && add_update_server_vvvvvwq == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').show();
|
||||
}
|
||||
@ -338,186 +196,6 @@ function vvvvvxp(update_server_target_vvvvvxp,add_update_server_vvvvvxp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxr function
|
||||
function vvvvvxr(add_update_server_vvvvvxr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvxr == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').show();
|
||||
// add required attribute to update_server_target field
|
||||
if (jform_vvvvvxrvwd_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',0);
|
||||
jQuery('#jform_update_server_target').prop('required','required');
|
||||
jQuery('#jform_update_server_target').attr('aria-required',true);
|
||||
jQuery('#jform_update_server_target').addClass('required');
|
||||
jform_vvvvvxrvwd_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').hide();
|
||||
// remove required attribute from update_server_target field
|
||||
if (!jform_vvvvvxrvwd_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',1);
|
||||
jQuery('#jform_update_server_target').removeAttr('required');
|
||||
jQuery('#jform_update_server_target').removeAttr('aria-required');
|
||||
jQuery('#jform_update_server_target').removeClass('required');
|
||||
jform_vvvvvxrvwd_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxs function
|
||||
function vvvvvxs(add_sql_vvvvvxs)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvxs == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvxsvwe_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvxsvwe_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvxsvwe_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvxsvwe_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxt function
|
||||
function vvvvvxt(add_sql_uninstall_vvvvvxt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_uninstall_vvvvvxt == 1)
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').show();
|
||||
// add required attribute to sql_uninstall field
|
||||
if (jform_vvvvvxtvwf_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',0);
|
||||
jQuery('#jform_sql_uninstall').prop('required','required');
|
||||
jQuery('#jform_sql_uninstall').attr('aria-required',true);
|
||||
jQuery('#jform_sql_uninstall').addClass('required');
|
||||
jform_vvvvvxtvwf_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').hide();
|
||||
// remove required attribute from sql_uninstall field
|
||||
if (!jform_vvvvvxtvwf_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',1);
|
||||
jQuery('#jform_sql_uninstall').removeAttr('required');
|
||||
jQuery('#jform_sql_uninstall').removeAttr('aria-required');
|
||||
jQuery('#jform_sql_uninstall').removeClass('required');
|
||||
jform_vvvvvxtvwf_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxu function
|
||||
function vvvvvxu(add_update_server_vvvvvxu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvxu == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxv function
|
||||
function vvvvvxv(add_sales_server_vvvvvxv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sales_server_vvvvvxv == 1)
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxw function
|
||||
function vvvvvxw(addreadme_vvvvvxw)
|
||||
{
|
||||
// set the function logic
|
||||
if (addreadme_vvvvvxw == 1)
|
||||
{
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// update fields required
|
||||
function updateFieldRequired(name, status) {
|
||||
// check if not_required exist
|
||||
if (document.getElementById('jform_not_required')) {
|
||||
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||
|
||||
if(status == 1)
|
||||
{
|
||||
not_required.push(name);
|
||||
}
|
||||
else
|
||||
{
|
||||
not_required = removeFieldFromNotRequired(not_required, name);
|
||||
}
|
||||
|
||||
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||
}
|
||||
}
|
||||
|
||||
// remove field from not_required
|
||||
function removeFieldFromNotRequired(array, what) {
|
||||
return array.filter(function(element){
|
||||
return element !== what;
|
||||
});
|
||||
}
|
||||
|
||||
// fix not required array
|
||||
function fixNotRequiredArray(array) {
|
||||
var seen = {};
|
||||
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||
});
|
||||
}
|
||||
|
||||
// remove empty from not_required array
|
||||
function removeEmptyFromNotRequiredArray(array) {
|
||||
return array.filter(function (el) {
|
||||
// remove ( 一_一) as well - lol
|
||||
return (el.length > 0 && '一_一' !== el);
|
||||
});
|
||||
}
|
||||
|
||||
// the isSet function
|
||||
function isSet(val)
|
||||
{
|
||||
|
@ -8,107 +8,63 @@
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvvyovwg_required = false;
|
||||
jform_vvvvvypvwh_required = false;
|
||||
jform_vvvvvyqvwi_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var class_extends_vvvvvxx = jQuery("#jform_class_extends").val();
|
||||
var joomla_plugin_group_vvvvvxx = jQuery("#jform_joomla_plugin_group").val();
|
||||
vvvvvxx(class_extends_vvvvvxx,joomla_plugin_group_vvvvvxx);
|
||||
var class_extends_vvvvvws = jQuery("#jform_class_extends").val();
|
||||
var joomla_plugin_group_vvvvvws = jQuery("#jform_joomla_plugin_group").val();
|
||||
vvvvvws(class_extends_vvvvvws,joomla_plugin_group_vvvvvws);
|
||||
|
||||
var joomla_plugin_group_vvvvvxy = jQuery("#jform_joomla_plugin_group").val();
|
||||
var class_extends_vvvvvxy = jQuery("#jform_class_extends").val();
|
||||
vvvvvxy(joomla_plugin_group_vvvvvxy,class_extends_vvvvvxy);
|
||||
var joomla_plugin_group_vvvvvwt = jQuery("#jform_joomla_plugin_group").val();
|
||||
var class_extends_vvvvvwt = jQuery("#jform_class_extends").val();
|
||||
vvvvvwt(joomla_plugin_group_vvvvvwt,class_extends_vvvvvwt);
|
||||
|
||||
var class_extends_vvvvvxz = jQuery("#jform_class_extends").val();
|
||||
vvvvvxz(class_extends_vvvvvxz);
|
||||
var class_extends_vvvvvwu = jQuery("#jform_class_extends").val();
|
||||
vvvvvwu(class_extends_vvvvvwu);
|
||||
|
||||
var add_php_script_construct_vvvvvyb = jQuery("#jform_add_php_script_construct input[type='radio']:checked").val();
|
||||
vvvvvyb(add_php_script_construct_vvvvvyb);
|
||||
var update_server_target_vvvvvww = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvww = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvww(update_server_target_vvvvvww,add_update_server_vvvvvww);
|
||||
|
||||
var add_php_preflight_install_vvvvvyc = jQuery("#jform_add_php_preflight_install input[type='radio']:checked").val();
|
||||
vvvvvyc(add_php_preflight_install_vvvvvyc);
|
||||
var add_update_server_vvvvvwx = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvwx = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvwx(add_update_server_vvvvvwx,update_server_target_vvvvvwx);
|
||||
|
||||
var add_php_preflight_update_vvvvvyd = jQuery("#jform_add_php_preflight_update input[type='radio']:checked").val();
|
||||
vvvvvyd(add_php_preflight_update_vvvvvyd);
|
||||
var update_server_target_vvvvvwy = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvwy = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvwy(update_server_target_vvvvvwy,add_update_server_vvvvvwy);
|
||||
|
||||
var add_php_preflight_uninstall_vvvvvye = jQuery("#jform_add_php_preflight_uninstall input[type='radio']:checked").val();
|
||||
vvvvvye(add_php_preflight_uninstall_vvvvvye);
|
||||
|
||||
var add_php_postflight_install_vvvvvyf = jQuery("#jform_add_php_postflight_install input[type='radio']:checked").val();
|
||||
vvvvvyf(add_php_postflight_install_vvvvvyf);
|
||||
|
||||
var add_php_postflight_update_vvvvvyg = jQuery("#jform_add_php_postflight_update input[type='radio']:checked").val();
|
||||
vvvvvyg(add_php_postflight_update_vvvvvyg);
|
||||
|
||||
var add_php_method_uninstall_vvvvvyh = jQuery("#jform_add_php_method_uninstall input[type='radio']:checked").val();
|
||||
vvvvvyh(add_php_method_uninstall_vvvvvyh);
|
||||
|
||||
var update_server_target_vvvvvyi = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvyi = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvyi(update_server_target_vvvvvyi,add_update_server_vvvvvyi);
|
||||
|
||||
var add_update_server_vvvvvyj = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
var update_server_target_vvvvvyj = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
vvvvvyj(add_update_server_vvvvvyj,update_server_target_vvvvvyj);
|
||||
|
||||
var update_server_target_vvvvvyk = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvyk = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvyk(update_server_target_vvvvvyk,add_update_server_vvvvvyk);
|
||||
|
||||
var update_server_target_vvvvvym = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvym = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvym(update_server_target_vvvvvym,add_update_server_vvvvvym);
|
||||
|
||||
var add_update_server_vvvvvyo = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvyo(add_update_server_vvvvvyo);
|
||||
|
||||
var add_sql_vvvvvyp = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvyp(add_sql_vvvvvyp);
|
||||
|
||||
var add_sql_uninstall_vvvvvyq = jQuery("#jform_add_sql_uninstall input[type='radio']:checked").val();
|
||||
vvvvvyq(add_sql_uninstall_vvvvvyq);
|
||||
|
||||
var add_update_server_vvvvvyr = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvyr(add_update_server_vvvvvyr);
|
||||
|
||||
var add_sales_server_vvvvvys = jQuery("#jform_add_sales_server input[type='radio']:checked").val();
|
||||
vvvvvys(add_sales_server_vvvvvys);
|
||||
|
||||
var addreadme_vvvvvyt = jQuery("#jform_addreadme input[type='radio']:checked").val();
|
||||
vvvvvyt(addreadme_vvvvvyt);
|
||||
var update_server_target_vvvvvxa = jQuery("#jform_update_server_target input[type='radio']:checked").val();
|
||||
var add_update_server_vvvvvxa = jQuery("#jform_add_update_server input[type='radio']:checked").val();
|
||||
vvvvvxa(update_server_target_vvvvvxa,add_update_server_vvvvvxa);
|
||||
});
|
||||
|
||||
// the vvvvvxx function
|
||||
function vvvvvxx(class_extends_vvvvvxx,joomla_plugin_group_vvvvvxx)
|
||||
// the vvvvvws function
|
||||
function vvvvvws(class_extends_vvvvvws,joomla_plugin_group_vvvvvws)
|
||||
{
|
||||
if (isSet(class_extends_vvvvvxx) && class_extends_vvvvvxx.constructor !== Array)
|
||||
if (isSet(class_extends_vvvvvws) && class_extends_vvvvvws.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxx = class_extends_vvvvvxx;
|
||||
var class_extends_vvvvvxx = [];
|
||||
class_extends_vvvvvxx.push(temp_vvvvvxx);
|
||||
var temp_vvvvvws = class_extends_vvvvvws;
|
||||
var class_extends_vvvvvws = [];
|
||||
class_extends_vvvvvws.push(temp_vvvvvws);
|
||||
}
|
||||
else if (!isSet(class_extends_vvvvvxx))
|
||||
else if (!isSet(class_extends_vvvvvws))
|
||||
{
|
||||
var class_extends_vvvvvxx = [];
|
||||
var class_extends_vvvvvws = [];
|
||||
}
|
||||
var class_extends = class_extends_vvvvvxx.some(class_extends_vvvvvxx_SomeFunc);
|
||||
var class_extends = class_extends_vvvvvws.some(class_extends_vvvvvws_SomeFunc);
|
||||
|
||||
if (isSet(joomla_plugin_group_vvvvvxx) && joomla_plugin_group_vvvvvxx.constructor !== Array)
|
||||
if (isSet(joomla_plugin_group_vvvvvws) && joomla_plugin_group_vvvvvws.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxx = joomla_plugin_group_vvvvvxx;
|
||||
var joomla_plugin_group_vvvvvxx = [];
|
||||
joomla_plugin_group_vvvvvxx.push(temp_vvvvvxx);
|
||||
var temp_vvvvvws = joomla_plugin_group_vvvvvws;
|
||||
var joomla_plugin_group_vvvvvws = [];
|
||||
joomla_plugin_group_vvvvvws.push(temp_vvvvvws);
|
||||
}
|
||||
else if (!isSet(joomla_plugin_group_vvvvvxx))
|
||||
else if (!isSet(joomla_plugin_group_vvvvvws))
|
||||
{
|
||||
var joomla_plugin_group_vvvvvxx = [];
|
||||
var joomla_plugin_group_vvvvvws = [];
|
||||
}
|
||||
var joomla_plugin_group = joomla_plugin_group_vvvvvxx.some(joomla_plugin_group_vvvvvxx_SomeFunc);
|
||||
var joomla_plugin_group = joomla_plugin_group_vvvvvws.some(joomla_plugin_group_vvvvvws_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -124,54 +80,54 @@ function vvvvvxx(class_extends_vvvvvxx,joomla_plugin_group_vvvvvxx)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxx Some function
|
||||
function class_extends_vvvvvxx_SomeFunc(class_extends_vvvvvxx)
|
||||
// the vvvvvws Some function
|
||||
function class_extends_vvvvvws_SomeFunc(class_extends_vvvvvws)
|
||||
{
|
||||
// set the function logic
|
||||
if (isSet(class_extends_vvvvvxx))
|
||||
if (isSet(class_extends_vvvvvws))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvxx Some function
|
||||
function joomla_plugin_group_vvvvvxx_SomeFunc(joomla_plugin_group_vvvvvxx)
|
||||
// the vvvvvws Some function
|
||||
function joomla_plugin_group_vvvvvws_SomeFunc(joomla_plugin_group_vvvvvws)
|
||||
{
|
||||
// set the function logic
|
||||
if (isSet(joomla_plugin_group_vvvvvxx))
|
||||
if (isSet(joomla_plugin_group_vvvvvws))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvxy function
|
||||
function vvvvvxy(joomla_plugin_group_vvvvvxy,class_extends_vvvvvxy)
|
||||
// the vvvvvwt function
|
||||
function vvvvvwt(joomla_plugin_group_vvvvvwt,class_extends_vvvvvwt)
|
||||
{
|
||||
if (isSet(joomla_plugin_group_vvvvvxy) && joomla_plugin_group_vvvvvxy.constructor !== Array)
|
||||
if (isSet(joomla_plugin_group_vvvvvwt) && joomla_plugin_group_vvvvvwt.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxy = joomla_plugin_group_vvvvvxy;
|
||||
var joomla_plugin_group_vvvvvxy = [];
|
||||
joomla_plugin_group_vvvvvxy.push(temp_vvvvvxy);
|
||||
var temp_vvvvvwt = joomla_plugin_group_vvvvvwt;
|
||||
var joomla_plugin_group_vvvvvwt = [];
|
||||
joomla_plugin_group_vvvvvwt.push(temp_vvvvvwt);
|
||||
}
|
||||
else if (!isSet(joomla_plugin_group_vvvvvxy))
|
||||
else if (!isSet(joomla_plugin_group_vvvvvwt))
|
||||
{
|
||||
var joomla_plugin_group_vvvvvxy = [];
|
||||
var joomla_plugin_group_vvvvvwt = [];
|
||||
}
|
||||
var joomla_plugin_group = joomla_plugin_group_vvvvvxy.some(joomla_plugin_group_vvvvvxy_SomeFunc);
|
||||
var joomla_plugin_group = joomla_plugin_group_vvvvvwt.some(joomla_plugin_group_vvvvvwt_SomeFunc);
|
||||
|
||||
if (isSet(class_extends_vvvvvxy) && class_extends_vvvvvxy.constructor !== Array)
|
||||
if (isSet(class_extends_vvvvvwt) && class_extends_vvvvvwt.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxy = class_extends_vvvvvxy;
|
||||
var class_extends_vvvvvxy = [];
|
||||
class_extends_vvvvvxy.push(temp_vvvvvxy);
|
||||
var temp_vvvvvwt = class_extends_vvvvvwt;
|
||||
var class_extends_vvvvvwt = [];
|
||||
class_extends_vvvvvwt.push(temp_vvvvvwt);
|
||||
}
|
||||
else if (!isSet(class_extends_vvvvvxy))
|
||||
else if (!isSet(class_extends_vvvvvwt))
|
||||
{
|
||||
var class_extends_vvvvvxy = [];
|
||||
var class_extends_vvvvvwt = [];
|
||||
}
|
||||
var class_extends = class_extends_vvvvvxy.some(class_extends_vvvvvxy_SomeFunc);
|
||||
var class_extends = class_extends_vvvvvwt.some(class_extends_vvvvvwt_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -187,42 +143,42 @@ function vvvvvxy(joomla_plugin_group_vvvvvxy,class_extends_vvvvvxy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxy Some function
|
||||
function joomla_plugin_group_vvvvvxy_SomeFunc(joomla_plugin_group_vvvvvxy)
|
||||
// the vvvvvwt Some function
|
||||
function joomla_plugin_group_vvvvvwt_SomeFunc(joomla_plugin_group_vvvvvwt)
|
||||
{
|
||||
// set the function logic
|
||||
if (isSet(joomla_plugin_group_vvvvvxy))
|
||||
if (isSet(joomla_plugin_group_vvvvvwt))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvxy Some function
|
||||
function class_extends_vvvvvxy_SomeFunc(class_extends_vvvvvxy)
|
||||
// the vvvvvwt Some function
|
||||
function class_extends_vvvvvwt_SomeFunc(class_extends_vvvvvwt)
|
||||
{
|
||||
// set the function logic
|
||||
if (isSet(class_extends_vvvvvxy))
|
||||
if (isSet(class_extends_vvvvvwt))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvxz function
|
||||
function vvvvvxz(class_extends_vvvvvxz)
|
||||
// the vvvvvwu function
|
||||
function vvvvvwu(class_extends_vvvvvwu)
|
||||
{
|
||||
if (isSet(class_extends_vvvvvxz) && class_extends_vvvvvxz.constructor !== Array)
|
||||
if (isSet(class_extends_vvvvvwu) && class_extends_vvvvvwu.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvvxz = class_extends_vvvvvxz;
|
||||
var class_extends_vvvvvxz = [];
|
||||
class_extends_vvvvvxz.push(temp_vvvvvxz);
|
||||
var temp_vvvvvwu = class_extends_vvvvvwu;
|
||||
var class_extends_vvvvvwu = [];
|
||||
class_extends_vvvvvwu.push(temp_vvvvvwu);
|
||||
}
|
||||
else if (!isSet(class_extends_vvvvvxz))
|
||||
else if (!isSet(class_extends_vvvvvwu))
|
||||
{
|
||||
var class_extends_vvvvvxz = [];
|
||||
var class_extends_vvvvvwu = [];
|
||||
}
|
||||
var class_extends = class_extends_vvvvvxz.some(class_extends_vvvvvxz_SomeFunc);
|
||||
var class_extends = class_extends_vvvvvwu.some(class_extends_vvvvvwu_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -236,120 +192,22 @@ function vvvvvxz(class_extends_vvvvvxz)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvxz Some function
|
||||
function class_extends_vvvvvxz_SomeFunc(class_extends_vvvvvxz)
|
||||
// the vvvvvwu Some function
|
||||
function class_extends_vvvvvwu_SomeFunc(class_extends_vvvvvwu)
|
||||
{
|
||||
// set the function logic
|
||||
if (isSet(class_extends_vvvvvxz))
|
||||
if (isSet(class_extends_vvvvvwu))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvvyb function
|
||||
function vvvvvyb(add_php_script_construct_vvvvvyb)
|
||||
// the vvvvvww function
|
||||
function vvvvvww(update_server_target_vvvvvww,add_update_server_vvvvvww)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_script_construct_vvvvvyb == 1)
|
||||
{
|
||||
jQuery('#jform_php_script_construct-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_script_construct-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyc function
|
||||
function vvvvvyc(add_php_preflight_install_vvvvvyc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_install_vvvvvyc == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyd function
|
||||
function vvvvvyd(add_php_preflight_update_vvvvvyd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_update_vvvvvyd == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvye function
|
||||
function vvvvvye(add_php_preflight_uninstall_vvvvvye)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_preflight_uninstall_vvvvvye == 1)
|
||||
{
|
||||
jQuery('#jform_php_preflight_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_preflight_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyf function
|
||||
function vvvvvyf(add_php_postflight_install_vvvvvyf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_install_vvvvvyf == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_install-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyg function
|
||||
function vvvvvyg(add_php_postflight_update_vvvvvyg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postflight_update_vvvvvyg == 1)
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_postflight_update-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyh function
|
||||
function vvvvvyh(add_php_method_uninstall_vvvvvyh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_method_uninstall_vvvvvyh == 1)
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_method_uninstall-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyi function
|
||||
function vvvvvyi(update_server_target_vvvvvyi,add_update_server_vvvvvyi)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvyi == 1 && add_update_server_vvvvvyi == 1)
|
||||
if (update_server_target_vvvvvww == 1 && add_update_server_vvvvvww == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
@ -361,11 +219,11 @@ function vvvvvyi(update_server_target_vvvvvyi,add_update_server_vvvvvyi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyj function
|
||||
function vvvvvyj(add_update_server_vvvvvyj,update_server_target_vvvvvyj)
|
||||
// the vvvvvwx function
|
||||
function vvvvvwx(add_update_server_vvvvvwx,update_server_target_vvvvvwx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvyj == 1 && update_server_target_vvvvvyj == 1)
|
||||
if (add_update_server_vvvvvwx == 1 && update_server_target_vvvvvwx == 1)
|
||||
{
|
||||
jQuery('#jform_update_server').closest('.control-group').show();
|
||||
jQuery('.note_update_server_note_ftp').closest('.control-group').show();
|
||||
@ -377,11 +235,11 @@ function vvvvvyj(add_update_server_vvvvvyj,update_server_target_vvvvvyj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyk function
|
||||
function vvvvvyk(update_server_target_vvvvvyk,add_update_server_vvvvvyk)
|
||||
// the vvvvvwy function
|
||||
function vvvvvwy(update_server_target_vvvvvwy,add_update_server_vvvvvwy)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvyk == 2 && add_update_server_vvvvvyk == 1)
|
||||
if (update_server_target_vvvvvwy == 2 && add_update_server_vvvvvwy == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_zip').closest('.control-group').show();
|
||||
}
|
||||
@ -391,11 +249,11 @@ function vvvvvyk(update_server_target_vvvvvyk,add_update_server_vvvvvyk)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvym function
|
||||
function vvvvvym(update_server_target_vvvvvym,add_update_server_vvvvvym)
|
||||
// the vvvvvxa function
|
||||
function vvvvvxa(update_server_target_vvvvvxa,add_update_server_vvvvvxa)
|
||||
{
|
||||
// set the function logic
|
||||
if (update_server_target_vvvvvym == 3 && add_update_server_vvvvvym == 1)
|
||||
if (update_server_target_vvvvvxa == 3 && add_update_server_vvvvvxa == 1)
|
||||
{
|
||||
jQuery('.note_update_server_note_other').closest('.control-group').show();
|
||||
}
|
||||
@ -405,186 +263,6 @@ function vvvvvym(update_server_target_vvvvvym,add_update_server_vvvvvym)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyo function
|
||||
function vvvvvyo(add_update_server_vvvvvyo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvyo == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').show();
|
||||
// add required attribute to update_server_target field
|
||||
if (jform_vvvvvyovwg_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',0);
|
||||
jQuery('#jform_update_server_target').prop('required','required');
|
||||
jQuery('#jform_update_server_target').attr('aria-required',true);
|
||||
jQuery('#jform_update_server_target').addClass('required');
|
||||
jform_vvvvvyovwg_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_target').closest('.control-group').hide();
|
||||
// remove required attribute from update_server_target field
|
||||
if (!jform_vvvvvyovwg_required)
|
||||
{
|
||||
updateFieldRequired('update_server_target',1);
|
||||
jQuery('#jform_update_server_target').removeAttr('required');
|
||||
jQuery('#jform_update_server_target').removeAttr('aria-required');
|
||||
jQuery('#jform_update_server_target').removeClass('required');
|
||||
jform_vvvvvyovwg_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyp function
|
||||
function vvvvvyp(add_sql_vvvvvyp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvyp == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvypvwh_required)
|
||||
{
|
||||
updateFieldRequired('sql',0);
|
||||
jQuery('#jform_sql').prop('required','required');
|
||||
jQuery('#jform_sql').attr('aria-required',true);
|
||||
jQuery('#jform_sql').addClass('required');
|
||||
jform_vvvvvypvwh_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvypvwh_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvypvwh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyq function
|
||||
function vvvvvyq(add_sql_uninstall_vvvvvyq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_uninstall_vvvvvyq == 1)
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').show();
|
||||
// add required attribute to sql_uninstall field
|
||||
if (jform_vvvvvyqvwi_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',0);
|
||||
jQuery('#jform_sql_uninstall').prop('required','required');
|
||||
jQuery('#jform_sql_uninstall').attr('aria-required',true);
|
||||
jQuery('#jform_sql_uninstall').addClass('required');
|
||||
jform_vvvvvyqvwi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql_uninstall').closest('.control-group').hide();
|
||||
// remove required attribute from sql_uninstall field
|
||||
if (!jform_vvvvvyqvwi_required)
|
||||
{
|
||||
updateFieldRequired('sql_uninstall',1);
|
||||
jQuery('#jform_sql_uninstall').removeAttr('required');
|
||||
jQuery('#jform_sql_uninstall').removeAttr('aria-required');
|
||||
jQuery('#jform_sql_uninstall').removeClass('required');
|
||||
jform_vvvvvyqvwi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyr function
|
||||
function vvvvvyr(add_update_server_vvvvvyr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_update_server_vvvvvyr == 1)
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_update_server_url').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvys function
|
||||
function vvvvvys(add_sales_server_vvvvvys)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sales_server_vvvvvys == 1)
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sales_server').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyt function
|
||||
function vvvvvyt(addreadme_vvvvvyt)
|
||||
{
|
||||
// set the function logic
|
||||
if (addreadme_vvvvvyt == 1)
|
||||
{
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_readme-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// update fields required
|
||||
function updateFieldRequired(name, status) {
|
||||
// check if not_required exist
|
||||
if (document.getElementById('jform_not_required')) {
|
||||
var not_required = jQuery('#jform_not_required').val().split(",");
|
||||
|
||||
if(status == 1)
|
||||
{
|
||||
not_required.push(name);
|
||||
}
|
||||
else
|
||||
{
|
||||
not_required = removeFieldFromNotRequired(not_required, name);
|
||||
}
|
||||
|
||||
jQuery('#jform_not_required').val(fixNotRequiredArray(not_required).toString());
|
||||
}
|
||||
}
|
||||
|
||||
// remove field from not_required
|
||||
function removeFieldFromNotRequired(array, what) {
|
||||
return array.filter(function(element){
|
||||
return element !== what;
|
||||
});
|
||||
}
|
||||
|
||||
// fix not required array
|
||||
function fixNotRequiredArray(array) {
|
||||
var seen = {};
|
||||
return removeEmptyFromNotRequiredArray(array).filter(function(item) {
|
||||
return seen.hasOwnProperty(item) ? false : (seen[item] = true);
|
||||
});
|
||||
}
|
||||
|
||||
// remove empty from not_required array
|
||||
function removeEmptyFromNotRequiredArray(array) {
|
||||
return array.filter(function (el) {
|
||||
// remove ( 一_一) as well - lol
|
||||
return (el.length > 0 && '一_一' !== el);
|
||||
});
|
||||
}
|
||||
|
||||
// the isSet function
|
||||
function isSet(val)
|
||||
{
|
||||
|
@ -11,15 +11,15 @@
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var add_php_view_vvvvwaz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwaz(add_php_view_vvvvwaz);
|
||||
var add_php_view_vvvvvzh = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzh(add_php_view_vvvvvzh);
|
||||
});
|
||||
|
||||
// the vvvvwaz function
|
||||
function vvvvwaz(add_php_view_vvvvwaz)
|
||||
// the vvvvvzh function
|
||||
function vvvvvzh(add_php_view_vvvvvzh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvwaz == 1)
|
||||
if (add_php_view_vvvvvzh == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
@ -9,90 +9,90 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcjvxl_required = false;
|
||||
jform_vvvvwcxvxm_required = false;
|
||||
jform_vvvvwcxvxn_required = false;
|
||||
jform_vvvvwarvxc_required = false;
|
||||
jform_vvvvwbfvxd_required = false;
|
||||
jform_vvvvwbfvxe_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var how_vvvvwch = jQuery("#jform_how").val();
|
||||
var target_vvvvwch = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwch(how_vvvvwch,target_vvvvwch);
|
||||
var how_vvvvwap = jQuery("#jform_how").val();
|
||||
var target_vvvvwap = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwap(how_vvvvwap,target_vvvvwap);
|
||||
|
||||
var how_vvvvwcj = jQuery("#jform_how").val();
|
||||
var target_vvvvwcj = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcj(how_vvvvwcj,target_vvvvwcj);
|
||||
var how_vvvvwar = jQuery("#jform_how").val();
|
||||
var target_vvvvwar = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwar(how_vvvvwar,target_vvvvwar);
|
||||
|
||||
var how_vvvvwcl = jQuery("#jform_how").val();
|
||||
var target_vvvvwcl = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcl(how_vvvvwcl,target_vvvvwcl);
|
||||
var how_vvvvwat = jQuery("#jform_how").val();
|
||||
var target_vvvvwat = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwat(how_vvvvwat,target_vvvvwat);
|
||||
|
||||
var how_vvvvwcn = jQuery("#jform_how").val();
|
||||
var target_vvvvwcn = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcn(how_vvvvwcn,target_vvvvwcn);
|
||||
var how_vvvvwav = jQuery("#jform_how").val();
|
||||
var target_vvvvwav = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwav(how_vvvvwav,target_vvvvwav);
|
||||
|
||||
var how_vvvvwcp = jQuery("#jform_how").val();
|
||||
var target_vvvvwcp = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcp(how_vvvvwcp,target_vvvvwcp);
|
||||
var how_vvvvwax = jQuery("#jform_how").val();
|
||||
var target_vvvvwax = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwax(how_vvvvwax,target_vvvvwax);
|
||||
|
||||
var target_vvvvwcq = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvwcq = jQuery("#jform_how").val();
|
||||
vvvvwcq(target_vvvvwcq,how_vvvvwcq);
|
||||
var target_vvvvway = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvway = jQuery("#jform_how").val();
|
||||
vvvvway(target_vvvvway,how_vvvvway);
|
||||
|
||||
var how_vvvvwcr = jQuery("#jform_how").val();
|
||||
var target_vvvvwcr = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcr(how_vvvvwcr,target_vvvvwcr);
|
||||
var how_vvvvwaz = jQuery("#jform_how").val();
|
||||
var target_vvvvwaz = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwaz(how_vvvvwaz,target_vvvvwaz);
|
||||
|
||||
var target_vvvvwcs = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvwcs = jQuery("#jform_how").val();
|
||||
vvvvwcs(target_vvvvwcs,how_vvvvwcs);
|
||||
var target_vvvvwba = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvwba = jQuery("#jform_how").val();
|
||||
vvvvwba(target_vvvvwba,how_vvvvwba);
|
||||
|
||||
var how_vvvvwct = jQuery("#jform_how").val();
|
||||
var target_vvvvwct = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwct(how_vvvvwct,target_vvvvwct);
|
||||
var how_vvvvwbb = jQuery("#jform_how").val();
|
||||
var target_vvvvwbb = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbb(how_vvvvwbb,target_vvvvwbb);
|
||||
|
||||
var target_vvvvwcu = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvwcu = jQuery("#jform_how").val();
|
||||
vvvvwcu(target_vvvvwcu,how_vvvvwcu);
|
||||
var target_vvvvwbc = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var how_vvvvwbc = jQuery("#jform_how").val();
|
||||
vvvvwbc(target_vvvvwbc,how_vvvvwbc);
|
||||
|
||||
var target_vvvvwcv = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwcv = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwcv(target_vvvvwcv,type_vvvvwcv);
|
||||
var target_vvvvwbd = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvwbd = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwbd(target_vvvvwbd,type_vvvvwbd);
|
||||
|
||||
var target_vvvvwcx = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcx(target_vvvvwcx);
|
||||
var target_vvvvwbf = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbf(target_vvvvwbf);
|
||||
|
||||
var target_vvvvwcy = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcy(target_vvvvwcy);
|
||||
var target_vvvvwbg = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwbg(target_vvvvwbg);
|
||||
});
|
||||
|
||||
// the vvvvwch function
|
||||
function vvvvwch(how_vvvvwch,target_vvvvwch)
|
||||
// the vvvvwap function
|
||||
function vvvvwap(how_vvvvwap,target_vvvvwap)
|
||||
{
|
||||
if (isSet(how_vvvvwch) && how_vvvvwch.constructor !== Array)
|
||||
if (isSet(how_vvvvwap) && how_vvvvwap.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwch = how_vvvvwch;
|
||||
var how_vvvvwch = [];
|
||||
how_vvvvwch.push(temp_vvvvwch);
|
||||
var temp_vvvvwap = how_vvvvwap;
|
||||
var how_vvvvwap = [];
|
||||
how_vvvvwap.push(temp_vvvvwap);
|
||||
}
|
||||
else if (!isSet(how_vvvvwch))
|
||||
else if (!isSet(how_vvvvwap))
|
||||
{
|
||||
var how_vvvvwch = [];
|
||||
var how_vvvvwap = [];
|
||||
}
|
||||
var how = how_vvvvwch.some(how_vvvvwch_SomeFunc);
|
||||
var how = how_vvvvwap.some(how_vvvvwap_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwch) && target_vvvvwch.constructor !== Array)
|
||||
if (isSet(target_vvvvwap) && target_vvvvwap.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwch = target_vvvvwch;
|
||||
var target_vvvvwch = [];
|
||||
target_vvvvwch.push(temp_vvvvwch);
|
||||
var temp_vvvvwap = target_vvvvwap;
|
||||
var target_vvvvwap = [];
|
||||
target_vvvvwap.push(temp_vvvvwap);
|
||||
}
|
||||
else if (!isSet(target_vvvvwch))
|
||||
else if (!isSet(target_vvvvwap))
|
||||
{
|
||||
var target_vvvvwch = [];
|
||||
var target_vvvvwap = [];
|
||||
}
|
||||
var target = target_vvvvwch.some(target_vvvvwch_SomeFunc);
|
||||
var target = target_vvvvwap.some(target_vvvvwap_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -106,54 +106,54 @@ function vvvvwch(how_vvvvwch,target_vvvvwch)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwch Some function
|
||||
function how_vvvvwch_SomeFunc(how_vvvvwch)
|
||||
// the vvvvwap Some function
|
||||
function how_vvvvwap_SomeFunc(how_vvvvwap)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwch == 2)
|
||||
if (how_vvvvwap == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwch Some function
|
||||
function target_vvvvwch_SomeFunc(target_vvvvwch)
|
||||
// the vvvvwap Some function
|
||||
function target_vvvvwap_SomeFunc(target_vvvvwap)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwch == 1)
|
||||
if (target_vvvvwap == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcj function
|
||||
function vvvvwcj(how_vvvvwcj,target_vvvvwcj)
|
||||
// the vvvvwar function
|
||||
function vvvvwar(how_vvvvwar,target_vvvvwar)
|
||||
{
|
||||
if (isSet(how_vvvvwcj) && how_vvvvwcj.constructor !== Array)
|
||||
if (isSet(how_vvvvwar) && how_vvvvwar.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcj = how_vvvvwcj;
|
||||
var how_vvvvwcj = [];
|
||||
how_vvvvwcj.push(temp_vvvvwcj);
|
||||
var temp_vvvvwar = how_vvvvwar;
|
||||
var how_vvvvwar = [];
|
||||
how_vvvvwar.push(temp_vvvvwar);
|
||||
}
|
||||
else if (!isSet(how_vvvvwcj))
|
||||
else if (!isSet(how_vvvvwar))
|
||||
{
|
||||
var how_vvvvwcj = [];
|
||||
var how_vvvvwar = [];
|
||||
}
|
||||
var how = how_vvvvwcj.some(how_vvvvwcj_SomeFunc);
|
||||
var how = how_vvvvwar.some(how_vvvvwar_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwcj) && target_vvvvwcj.constructor !== Array)
|
||||
if (isSet(target_vvvvwar) && target_vvvvwar.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcj = target_vvvvwcj;
|
||||
var target_vvvvwcj = [];
|
||||
target_vvvvwcj.push(temp_vvvvwcj);
|
||||
var temp_vvvvwar = target_vvvvwar;
|
||||
var target_vvvvwar = [];
|
||||
target_vvvvwar.push(temp_vvvvwar);
|
||||
}
|
||||
else if (!isSet(target_vvvvwcj))
|
||||
else if (!isSet(target_vvvvwar))
|
||||
{
|
||||
var target_vvvvwcj = [];
|
||||
var target_vvvvwar = [];
|
||||
}
|
||||
var target = target_vvvvwcj.some(target_vvvvwcj_SomeFunc);
|
||||
var target = target_vvvvwar.some(target_vvvvwar_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -161,78 +161,78 @@ function vvvvwcj(how_vvvvwcj,target_vvvvwcj)
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').show();
|
||||
// add required attribute to php_setdocument field
|
||||
if (jform_vvvvwcjvxl_required)
|
||||
if (jform_vvvvwarvxc_required)
|
||||
{
|
||||
updateFieldRequired('php_setdocument',0);
|
||||
jQuery('#jform_php_setdocument').prop('required','required');
|
||||
jQuery('#jform_php_setdocument').attr('aria-required',true);
|
||||
jQuery('#jform_php_setdocument').addClass('required');
|
||||
jform_vvvvwcjvxl_required = false;
|
||||
jform_vvvvwarvxc_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_php_setdocument').closest('.control-group').hide();
|
||||
// remove required attribute from php_setdocument field
|
||||
if (!jform_vvvvwcjvxl_required)
|
||||
if (!jform_vvvvwarvxc_required)
|
||||
{
|
||||
updateFieldRequired('php_setdocument',1);
|
||||
jQuery('#jform_php_setdocument').removeAttr('required');
|
||||
jQuery('#jform_php_setdocument').removeAttr('aria-required');
|
||||
jQuery('#jform_php_setdocument').removeClass('required');
|
||||
jform_vvvvwcjvxl_required = true;
|
||||
jform_vvvvwarvxc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcj Some function
|
||||
function how_vvvvwcj_SomeFunc(how_vvvvwcj)
|
||||
// the vvvvwar Some function
|
||||
function how_vvvvwar_SomeFunc(how_vvvvwar)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwcj == 3)
|
||||
if (how_vvvvwar == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcj Some function
|
||||
function target_vvvvwcj_SomeFunc(target_vvvvwcj)
|
||||
// the vvvvwar Some function
|
||||
function target_vvvvwar_SomeFunc(target_vvvvwar)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcj == 1)
|
||||
if (target_vvvvwar == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcl function
|
||||
function vvvvwcl(how_vvvvwcl,target_vvvvwcl)
|
||||
// the vvvvwat function
|
||||
function vvvvwat(how_vvvvwat,target_vvvvwat)
|
||||
{
|
||||
if (isSet(how_vvvvwcl) && how_vvvvwcl.constructor !== Array)
|
||||
if (isSet(how_vvvvwat) && how_vvvvwat.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcl = how_vvvvwcl;
|
||||
var how_vvvvwcl = [];
|
||||
how_vvvvwcl.push(temp_vvvvwcl);
|
||||
var temp_vvvvwat = how_vvvvwat;
|
||||
var how_vvvvwat = [];
|
||||
how_vvvvwat.push(temp_vvvvwat);
|
||||
}
|
||||
else if (!isSet(how_vvvvwcl))
|
||||
else if (!isSet(how_vvvvwat))
|
||||
{
|
||||
var how_vvvvwcl = [];
|
||||
var how_vvvvwat = [];
|
||||
}
|
||||
var how = how_vvvvwcl.some(how_vvvvwcl_SomeFunc);
|
||||
var how = how_vvvvwat.some(how_vvvvwat_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwcl) && target_vvvvwcl.constructor !== Array)
|
||||
if (isSet(target_vvvvwat) && target_vvvvwat.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcl = target_vvvvwcl;
|
||||
var target_vvvvwcl = [];
|
||||
target_vvvvwcl.push(temp_vvvvwcl);
|
||||
var temp_vvvvwat = target_vvvvwat;
|
||||
var target_vvvvwat = [];
|
||||
target_vvvvwat.push(temp_vvvvwat);
|
||||
}
|
||||
else if (!isSet(target_vvvvwcl))
|
||||
else if (!isSet(target_vvvvwat))
|
||||
{
|
||||
var target_vvvvwcl = [];
|
||||
var target_vvvvwat = [];
|
||||
}
|
||||
var target = target_vvvvwcl.some(target_vvvvwcl_SomeFunc);
|
||||
var target = target_vvvvwat.some(target_vvvvwat_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -246,54 +246,54 @@ function vvvvwcl(how_vvvvwcl,target_vvvvwcl)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcl Some function
|
||||
function how_vvvvwcl_SomeFunc(how_vvvvwcl)
|
||||
// the vvvvwat Some function
|
||||
function how_vvvvwat_SomeFunc(how_vvvvwat)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwcl == 2 || how_vvvvwcl == 3)
|
||||
if (how_vvvvwat == 2 || how_vvvvwat == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcl Some function
|
||||
function target_vvvvwcl_SomeFunc(target_vvvvwcl)
|
||||
// the vvvvwat Some function
|
||||
function target_vvvvwat_SomeFunc(target_vvvvwat)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcl == 1)
|
||||
if (target_vvvvwat == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcn function
|
||||
function vvvvwcn(how_vvvvwcn,target_vvvvwcn)
|
||||
// the vvvvwav function
|
||||
function vvvvwav(how_vvvvwav,target_vvvvwav)
|
||||
{
|
||||
if (isSet(how_vvvvwcn) && how_vvvvwcn.constructor !== Array)
|
||||
if (isSet(how_vvvvwav) && how_vvvvwav.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcn = how_vvvvwcn;
|
||||
var how_vvvvwcn = [];
|
||||
how_vvvvwcn.push(temp_vvvvwcn);
|
||||
var temp_vvvvwav = how_vvvvwav;
|
||||
var how_vvvvwav = [];
|
||||
how_vvvvwav.push(temp_vvvvwav);
|
||||
}
|
||||
else if (!isSet(how_vvvvwcn))
|
||||
else if (!isSet(how_vvvvwav))
|
||||
{
|
||||
var how_vvvvwcn = [];
|
||||
var how_vvvvwav = [];
|
||||
}
|
||||
var how = how_vvvvwcn.some(how_vvvvwcn_SomeFunc);
|
||||
var how = how_vvvvwav.some(how_vvvvwav_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwcn) && target_vvvvwcn.constructor !== Array)
|
||||
if (isSet(target_vvvvwav) && target_vvvvwav.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcn = target_vvvvwcn;
|
||||
var target_vvvvwcn = [];
|
||||
target_vvvvwcn.push(temp_vvvvwcn);
|
||||
var temp_vvvvwav = target_vvvvwav;
|
||||
var target_vvvvwav = [];
|
||||
target_vvvvwav.push(temp_vvvvwav);
|
||||
}
|
||||
else if (!isSet(target_vvvvwcn))
|
||||
else if (!isSet(target_vvvvwav))
|
||||
{
|
||||
var target_vvvvwcn = [];
|
||||
var target_vvvvwav = [];
|
||||
}
|
||||
var target = target_vvvvwcn.some(target_vvvvwcn_SomeFunc);
|
||||
var target = target_vvvvwav.some(target_vvvvwav_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -307,54 +307,54 @@ function vvvvwcn(how_vvvvwcn,target_vvvvwcn)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcn Some function
|
||||
function how_vvvvwcn_SomeFunc(how_vvvvwcn)
|
||||
// the vvvvwav Some function
|
||||
function how_vvvvwav_SomeFunc(how_vvvvwav)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwcn == 1 || how_vvvvwcn == 2 || how_vvvvwcn == 3)
|
||||
if (how_vvvvwav == 1 || how_vvvvwav == 2 || how_vvvvwav == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcn Some function
|
||||
function target_vvvvwcn_SomeFunc(target_vvvvwcn)
|
||||
// the vvvvwav Some function
|
||||
function target_vvvvwav_SomeFunc(target_vvvvwav)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcn == 1)
|
||||
if (target_vvvvwav == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcp function
|
||||
function vvvvwcp(how_vvvvwcp,target_vvvvwcp)
|
||||
// the vvvvwax function
|
||||
function vvvvwax(how_vvvvwax,target_vvvvwax)
|
||||
{
|
||||
if (isSet(how_vvvvwcp) && how_vvvvwcp.constructor !== Array)
|
||||
if (isSet(how_vvvvwax) && how_vvvvwax.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcp = how_vvvvwcp;
|
||||
var how_vvvvwcp = [];
|
||||
how_vvvvwcp.push(temp_vvvvwcp);
|
||||
var temp_vvvvwax = how_vvvvwax;
|
||||
var how_vvvvwax = [];
|
||||
how_vvvvwax.push(temp_vvvvwax);
|
||||
}
|
||||
else if (!isSet(how_vvvvwcp))
|
||||
else if (!isSet(how_vvvvwax))
|
||||
{
|
||||
var how_vvvvwcp = [];
|
||||
var how_vvvvwax = [];
|
||||
}
|
||||
var how = how_vvvvwcp.some(how_vvvvwcp_SomeFunc);
|
||||
var how = how_vvvvwax.some(how_vvvvwax_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwcp) && target_vvvvwcp.constructor !== Array)
|
||||
if (isSet(target_vvvvwax) && target_vvvvwax.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcp = target_vvvvwcp;
|
||||
var target_vvvvwcp = [];
|
||||
target_vvvvwcp.push(temp_vvvvwcp);
|
||||
var temp_vvvvwax = target_vvvvwax;
|
||||
var target_vvvvwax = [];
|
||||
target_vvvvwax.push(temp_vvvvwax);
|
||||
}
|
||||
else if (!isSet(target_vvvvwcp))
|
||||
else if (!isSet(target_vvvvwax))
|
||||
{
|
||||
var target_vvvvwcp = [];
|
||||
var target_vvvvwax = [];
|
||||
}
|
||||
var target = target_vvvvwcp.some(target_vvvvwcp_SomeFunc);
|
||||
var target = target_vvvvwax.some(target_vvvvwax_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -372,54 +372,54 @@ function vvvvwcp(how_vvvvwcp,target_vvvvwcp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcp Some function
|
||||
function how_vvvvwcp_SomeFunc(how_vvvvwcp)
|
||||
// the vvvvwax Some function
|
||||
function how_vvvvwax_SomeFunc(how_vvvvwax)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwcp == 0)
|
||||
if (how_vvvvwax == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcp Some function
|
||||
function target_vvvvwcp_SomeFunc(target_vvvvwcp)
|
||||
// the vvvvwax Some function
|
||||
function target_vvvvwax_SomeFunc(target_vvvvwax)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcp == 1)
|
||||
if (target_vvvvwax == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcq function
|
||||
function vvvvwcq(target_vvvvwcq,how_vvvvwcq)
|
||||
// the vvvvway function
|
||||
function vvvvway(target_vvvvway,how_vvvvway)
|
||||
{
|
||||
if (isSet(target_vvvvwcq) && target_vvvvwcq.constructor !== Array)
|
||||
if (isSet(target_vvvvway) && target_vvvvway.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcq = target_vvvvwcq;
|
||||
var target_vvvvwcq = [];
|
||||
target_vvvvwcq.push(temp_vvvvwcq);
|
||||
var temp_vvvvway = target_vvvvway;
|
||||
var target_vvvvway = [];
|
||||
target_vvvvway.push(temp_vvvvway);
|
||||
}
|
||||
else if (!isSet(target_vvvvwcq))
|
||||
else if (!isSet(target_vvvvway))
|
||||
{
|
||||
var target_vvvvwcq = [];
|
||||
var target_vvvvway = [];
|
||||
}
|
||||
var target = target_vvvvwcq.some(target_vvvvwcq_SomeFunc);
|
||||
var target = target_vvvvway.some(target_vvvvway_SomeFunc);
|
||||
|
||||
if (isSet(how_vvvvwcq) && how_vvvvwcq.constructor !== Array)
|
||||
if (isSet(how_vvvvway) && how_vvvvway.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcq = how_vvvvwcq;
|
||||
var how_vvvvwcq = [];
|
||||
how_vvvvwcq.push(temp_vvvvwcq);
|
||||
var temp_vvvvway = how_vvvvway;
|
||||
var how_vvvvway = [];
|
||||
how_vvvvway.push(temp_vvvvway);
|
||||
}
|
||||
else if (!isSet(how_vvvvwcq))
|
||||
else if (!isSet(how_vvvvway))
|
||||
{
|
||||
var how_vvvvwcq = [];
|
||||
var how_vvvvway = [];
|
||||
}
|
||||
var how = how_vvvvwcq.some(how_vvvvwcq_SomeFunc);
|
||||
var how = how_vvvvway.some(how_vvvvway_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -437,54 +437,54 @@ function vvvvwcq(target_vvvvwcq,how_vvvvwcq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcq Some function
|
||||
function target_vvvvwcq_SomeFunc(target_vvvvwcq)
|
||||
// the vvvvway Some function
|
||||
function target_vvvvway_SomeFunc(target_vvvvway)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcq == 1)
|
||||
if (target_vvvvway == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcq Some function
|
||||
function how_vvvvwcq_SomeFunc(how_vvvvwcq)
|
||||
// the vvvvway Some function
|
||||
function how_vvvvway_SomeFunc(how_vvvvway)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwcq == 0)
|
||||
if (how_vvvvway == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcr function
|
||||
function vvvvwcr(how_vvvvwcr,target_vvvvwcr)
|
||||
// the vvvvwaz function
|
||||
function vvvvwaz(how_vvvvwaz,target_vvvvwaz)
|
||||
{
|
||||
if (isSet(how_vvvvwcr) && how_vvvvwcr.constructor !== Array)
|
||||
if (isSet(how_vvvvwaz) && how_vvvvwaz.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcr = how_vvvvwcr;
|
||||
var how_vvvvwcr = [];
|
||||
how_vvvvwcr.push(temp_vvvvwcr);
|
||||
var temp_vvvvwaz = how_vvvvwaz;
|
||||
var how_vvvvwaz = [];
|
||||
how_vvvvwaz.push(temp_vvvvwaz);
|
||||
}
|
||||
else if (!isSet(how_vvvvwcr))
|
||||
else if (!isSet(how_vvvvwaz))
|
||||
{
|
||||
var how_vvvvwcr = [];
|
||||
var how_vvvvwaz = [];
|
||||
}
|
||||
var how = how_vvvvwcr.some(how_vvvvwcr_SomeFunc);
|
||||
var how = how_vvvvwaz.some(how_vvvvwaz_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwcr) && target_vvvvwcr.constructor !== Array)
|
||||
if (isSet(target_vvvvwaz) && target_vvvvwaz.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcr = target_vvvvwcr;
|
||||
var target_vvvvwcr = [];
|
||||
target_vvvvwcr.push(temp_vvvvwcr);
|
||||
var temp_vvvvwaz = target_vvvvwaz;
|
||||
var target_vvvvwaz = [];
|
||||
target_vvvvwaz.push(temp_vvvvwaz);
|
||||
}
|
||||
else if (!isSet(target_vvvvwcr))
|
||||
else if (!isSet(target_vvvvwaz))
|
||||
{
|
||||
var target_vvvvwcr = [];
|
||||
var target_vvvvwaz = [];
|
||||
}
|
||||
var target = target_vvvvwcr.some(target_vvvvwcr_SomeFunc);
|
||||
var target = target_vvvvwaz.some(target_vvvvwaz_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -500,54 +500,54 @@ function vvvvwcr(how_vvvvwcr,target_vvvvwcr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcr Some function
|
||||
function how_vvvvwcr_SomeFunc(how_vvvvwcr)
|
||||
// the vvvvwaz Some function
|
||||
function how_vvvvwaz_SomeFunc(how_vvvvwaz)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwcr == 1)
|
||||
if (how_vvvvwaz == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcr Some function
|
||||
function target_vvvvwcr_SomeFunc(target_vvvvwcr)
|
||||
// the vvvvwaz Some function
|
||||
function target_vvvvwaz_SomeFunc(target_vvvvwaz)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcr == 1)
|
||||
if (target_vvvvwaz == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcs function
|
||||
function vvvvwcs(target_vvvvwcs,how_vvvvwcs)
|
||||
// the vvvvwba function
|
||||
function vvvvwba(target_vvvvwba,how_vvvvwba)
|
||||
{
|
||||
if (isSet(target_vvvvwcs) && target_vvvvwcs.constructor !== Array)
|
||||
if (isSet(target_vvvvwba) && target_vvvvwba.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcs = target_vvvvwcs;
|
||||
var target_vvvvwcs = [];
|
||||
target_vvvvwcs.push(temp_vvvvwcs);
|
||||
var temp_vvvvwba = target_vvvvwba;
|
||||
var target_vvvvwba = [];
|
||||
target_vvvvwba.push(temp_vvvvwba);
|
||||
}
|
||||
else if (!isSet(target_vvvvwcs))
|
||||
else if (!isSet(target_vvvvwba))
|
||||
{
|
||||
var target_vvvvwcs = [];
|
||||
var target_vvvvwba = [];
|
||||
}
|
||||
var target = target_vvvvwcs.some(target_vvvvwcs_SomeFunc);
|
||||
var target = target_vvvvwba.some(target_vvvvwba_SomeFunc);
|
||||
|
||||
if (isSet(how_vvvvwcs) && how_vvvvwcs.constructor !== Array)
|
||||
if (isSet(how_vvvvwba) && how_vvvvwba.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcs = how_vvvvwcs;
|
||||
var how_vvvvwcs = [];
|
||||
how_vvvvwcs.push(temp_vvvvwcs);
|
||||
var temp_vvvvwba = how_vvvvwba;
|
||||
var how_vvvvwba = [];
|
||||
how_vvvvwba.push(temp_vvvvwba);
|
||||
}
|
||||
else if (!isSet(how_vvvvwcs))
|
||||
else if (!isSet(how_vvvvwba))
|
||||
{
|
||||
var how_vvvvwcs = [];
|
||||
var how_vvvvwba = [];
|
||||
}
|
||||
var how = how_vvvvwcs.some(how_vvvvwcs_SomeFunc);
|
||||
var how = how_vvvvwba.some(how_vvvvwba_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -563,54 +563,54 @@ function vvvvwcs(target_vvvvwcs,how_vvvvwcs)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcs Some function
|
||||
function target_vvvvwcs_SomeFunc(target_vvvvwcs)
|
||||
// the vvvvwba Some function
|
||||
function target_vvvvwba_SomeFunc(target_vvvvwba)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcs == 1)
|
||||
if (target_vvvvwba == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcs Some function
|
||||
function how_vvvvwcs_SomeFunc(how_vvvvwcs)
|
||||
// the vvvvwba Some function
|
||||
function how_vvvvwba_SomeFunc(how_vvvvwba)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwcs == 1)
|
||||
if (how_vvvvwba == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwct function
|
||||
function vvvvwct(how_vvvvwct,target_vvvvwct)
|
||||
// the vvvvwbb function
|
||||
function vvvvwbb(how_vvvvwbb,target_vvvvwbb)
|
||||
{
|
||||
if (isSet(how_vvvvwct) && how_vvvvwct.constructor !== Array)
|
||||
if (isSet(how_vvvvwbb) && how_vvvvwbb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwct = how_vvvvwct;
|
||||
var how_vvvvwct = [];
|
||||
how_vvvvwct.push(temp_vvvvwct);
|
||||
var temp_vvvvwbb = how_vvvvwbb;
|
||||
var how_vvvvwbb = [];
|
||||
how_vvvvwbb.push(temp_vvvvwbb);
|
||||
}
|
||||
else if (!isSet(how_vvvvwct))
|
||||
else if (!isSet(how_vvvvwbb))
|
||||
{
|
||||
var how_vvvvwct = [];
|
||||
var how_vvvvwbb = [];
|
||||
}
|
||||
var how = how_vvvvwct.some(how_vvvvwct_SomeFunc);
|
||||
var how = how_vvvvwbb.some(how_vvvvwbb_SomeFunc);
|
||||
|
||||
if (isSet(target_vvvvwct) && target_vvvvwct.constructor !== Array)
|
||||
if (isSet(target_vvvvwbb) && target_vvvvwbb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwct = target_vvvvwct;
|
||||
var target_vvvvwct = [];
|
||||
target_vvvvwct.push(temp_vvvvwct);
|
||||
var temp_vvvvwbb = target_vvvvwbb;
|
||||
var target_vvvvwbb = [];
|
||||
target_vvvvwbb.push(temp_vvvvwbb);
|
||||
}
|
||||
else if (!isSet(target_vvvvwct))
|
||||
else if (!isSet(target_vvvvwbb))
|
||||
{
|
||||
var target_vvvvwct = [];
|
||||
var target_vvvvwbb = [];
|
||||
}
|
||||
var target = target_vvvvwct.some(target_vvvvwct_SomeFunc);
|
||||
var target = target_vvvvwbb.some(target_vvvvwbb_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -628,54 +628,54 @@ function vvvvwct(how_vvvvwct,target_vvvvwct)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwct Some function
|
||||
function how_vvvvwct_SomeFunc(how_vvvvwct)
|
||||
// the vvvvwbb Some function
|
||||
function how_vvvvwbb_SomeFunc(how_vvvvwbb)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwct == 4)
|
||||
if (how_vvvvwbb == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwct Some function
|
||||
function target_vvvvwct_SomeFunc(target_vvvvwct)
|
||||
// the vvvvwbb Some function
|
||||
function target_vvvvwbb_SomeFunc(target_vvvvwbb)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwct == 1)
|
||||
if (target_vvvvwbb == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcu function
|
||||
function vvvvwcu(target_vvvvwcu,how_vvvvwcu)
|
||||
// the vvvvwbc function
|
||||
function vvvvwbc(target_vvvvwbc,how_vvvvwbc)
|
||||
{
|
||||
if (isSet(target_vvvvwcu) && target_vvvvwcu.constructor !== Array)
|
||||
if (isSet(target_vvvvwbc) && target_vvvvwbc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcu = target_vvvvwcu;
|
||||
var target_vvvvwcu = [];
|
||||
target_vvvvwcu.push(temp_vvvvwcu);
|
||||
var temp_vvvvwbc = target_vvvvwbc;
|
||||
var target_vvvvwbc = [];
|
||||
target_vvvvwbc.push(temp_vvvvwbc);
|
||||
}
|
||||
else if (!isSet(target_vvvvwcu))
|
||||
else if (!isSet(target_vvvvwbc))
|
||||
{
|
||||
var target_vvvvwcu = [];
|
||||
var target_vvvvwbc = [];
|
||||
}
|
||||
var target = target_vvvvwcu.some(target_vvvvwcu_SomeFunc);
|
||||
var target = target_vvvvwbc.some(target_vvvvwbc_SomeFunc);
|
||||
|
||||
if (isSet(how_vvvvwcu) && how_vvvvwcu.constructor !== Array)
|
||||
if (isSet(how_vvvvwbc) && how_vvvvwbc.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcu = how_vvvvwcu;
|
||||
var how_vvvvwcu = [];
|
||||
how_vvvvwcu.push(temp_vvvvwcu);
|
||||
var temp_vvvvwbc = how_vvvvwbc;
|
||||
var how_vvvvwbc = [];
|
||||
how_vvvvwbc.push(temp_vvvvwbc);
|
||||
}
|
||||
else if (!isSet(how_vvvvwcu))
|
||||
else if (!isSet(how_vvvvwbc))
|
||||
{
|
||||
var how_vvvvwcu = [];
|
||||
var how_vvvvwbc = [];
|
||||
}
|
||||
var how = how_vvvvwcu.some(how_vvvvwcu_SomeFunc);
|
||||
var how = how_vvvvwbc.some(how_vvvvwbc_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -693,33 +693,33 @@ function vvvvwcu(target_vvvvwcu,how_vvvvwcu)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcu Some function
|
||||
function target_vvvvwcu_SomeFunc(target_vvvvwcu)
|
||||
// the vvvvwbc Some function
|
||||
function target_vvvvwbc_SomeFunc(target_vvvvwbc)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcu == 1)
|
||||
if (target_vvvvwbc == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcu Some function
|
||||
function how_vvvvwcu_SomeFunc(how_vvvvwcu)
|
||||
// the vvvvwbc Some function
|
||||
function how_vvvvwbc_SomeFunc(how_vvvvwbc)
|
||||
{
|
||||
// set the function logic
|
||||
if (how_vvvvwcu == 4)
|
||||
if (how_vvvvwbc == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwcv function
|
||||
function vvvvwcv(target_vvvvwcv,type_vvvvwcv)
|
||||
// the vvvvwbd function
|
||||
function vvvvwbd(target_vvvvwbd,type_vvvvwbd)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcv == 1 && type_vvvvwcv == 2)
|
||||
if (target_vvvvwbd == 1 && type_vvvvwbd == 2)
|
||||
{
|
||||
jQuery('#jform_libraries').closest('.control-group').show();
|
||||
}
|
||||
@ -729,63 +729,63 @@ function vvvvwcv(target_vvvvwcv,type_vvvvwcv)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcx function
|
||||
function vvvvwcx(target_vvvvwcx)
|
||||
// the vvvvwbf function
|
||||
function vvvvwbf(target_vvvvwbf)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcx == 1)
|
||||
if (target_vvvvwbf == 1)
|
||||
{
|
||||
jQuery('#jform_how').closest('.control-group').show();
|
||||
// add required attribute to how field
|
||||
if (jform_vvvvwcxvxm_required)
|
||||
if (jform_vvvvwbfvxd_required)
|
||||
{
|
||||
updateFieldRequired('how',0);
|
||||
jQuery('#jform_how').prop('required','required');
|
||||
jQuery('#jform_how').attr('aria-required',true);
|
||||
jQuery('#jform_how').addClass('required');
|
||||
jform_vvvvwcxvxm_required = false;
|
||||
jform_vvvvwbfvxd_required = false;
|
||||
}
|
||||
jQuery('#jform_type').closest('.control-group').show();
|
||||
// add required attribute to type field
|
||||
if (jform_vvvvwcxvxn_required)
|
||||
if (jform_vvvvwbfvxe_required)
|
||||
{
|
||||
updateFieldRequired('type',0);
|
||||
jQuery('#jform_type').prop('required','required');
|
||||
jQuery('#jform_type').attr('aria-required',true);
|
||||
jQuery('#jform_type').addClass('required');
|
||||
jform_vvvvwcxvxn_required = false;
|
||||
jform_vvvvwbfvxe_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_how').closest('.control-group').hide();
|
||||
// remove required attribute from how field
|
||||
if (!jform_vvvvwcxvxm_required)
|
||||
if (!jform_vvvvwbfvxd_required)
|
||||
{
|
||||
updateFieldRequired('how',1);
|
||||
jQuery('#jform_how').removeAttr('required');
|
||||
jQuery('#jform_how').removeAttr('aria-required');
|
||||
jQuery('#jform_how').removeClass('required');
|
||||
jform_vvvvwcxvxm_required = true;
|
||||
jform_vvvvwbfvxd_required = true;
|
||||
}
|
||||
jQuery('#jform_type').closest('.control-group').hide();
|
||||
// remove required attribute from type field
|
||||
if (!jform_vvvvwcxvxn_required)
|
||||
if (!jform_vvvvwbfvxe_required)
|
||||
{
|
||||
updateFieldRequired('type',1);
|
||||
jQuery('#jform_type').removeAttr('required');
|
||||
jQuery('#jform_type').removeAttr('aria-required');
|
||||
jQuery('#jform_type').removeClass('required');
|
||||
jform_vvvvwcxvxn_required = true;
|
||||
jform_vvvvwbfvxe_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcy function
|
||||
function vvvvwcy(target_vvvvwcy)
|
||||
// the vvvvwbg function
|
||||
function vvvvwbg(target_vvvvwbg)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcy == 2)
|
||||
if (target_vvvvwbg == 2)
|
||||
{
|
||||
jQuery('.note_yes_behaviour_library').closest('.control-group').show();
|
||||
}
|
||||
|
@ -11,15 +11,15 @@
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var add_head_vvvvvyu = jQuery("#jform_add_head input[type='radio']:checked").val();
|
||||
vvvvvyu(add_head_vvvvvyu);
|
||||
var add_head_vvvvvxc = jQuery("#jform_add_head input[type='radio']:checked").val();
|
||||
vvvvvxc(add_head_vvvvvxc);
|
||||
});
|
||||
|
||||
// the vvvvvyu function
|
||||
function vvvvvyu(add_head_vvvvvyu)
|
||||
// the vvvvvxc function
|
||||
function vvvvvxc(add_head_vvvvvxc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_head_vvvvvyu == 1)
|
||||
if (add_head_vvvvvxc == 1)
|
||||
{
|
||||
jQuery('#jform_head-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
@ -9,56 +9,56 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwdyvyd_required = false;
|
||||
jform_vvvvwdyvye_required = false;
|
||||
jform_vvvvwdyvyf_required = false;
|
||||
jform_vvvvwdyvyg_required = false;
|
||||
jform_vvvvwdyvyh_required = false;
|
||||
jform_vvvvwdzvyi_required = false;
|
||||
jform_vvvvweavyj_required = false;
|
||||
jform_vvvvwecvyk_required = false;
|
||||
jform_vvvvweevyl_required = false;
|
||||
jform_vvvvwcgvxu_required = false;
|
||||
jform_vvvvwcgvxv_required = false;
|
||||
jform_vvvvwcgvxw_required = false;
|
||||
jform_vvvvwcgvxx_required = false;
|
||||
jform_vvvvwcgvxy_required = false;
|
||||
jform_vvvvwchvxz_required = false;
|
||||
jform_vvvvwcivya_required = false;
|
||||
jform_vvvvwckvyb_required = false;
|
||||
jform_vvvvwcmvyc_required = false;
|
||||
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var protocol_vvvvwdy = jQuery("#jform_protocol").val();
|
||||
vvvvwdy(protocol_vvvvwdy);
|
||||
var protocol_vvvvwcg = jQuery("#jform_protocol").val();
|
||||
vvvvwcg(protocol_vvvvwcg);
|
||||
|
||||
var protocol_vvvvwdz = jQuery("#jform_protocol").val();
|
||||
vvvvwdz(protocol_vvvvwdz);
|
||||
var protocol_vvvvwch = jQuery("#jform_protocol").val();
|
||||
vvvvwch(protocol_vvvvwch);
|
||||
|
||||
var protocol_vvvvwea = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwea = jQuery("#jform_authentication").val();
|
||||
vvvvwea(protocol_vvvvwea,authentication_vvvvwea);
|
||||
var protocol_vvvvwci = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwci = jQuery("#jform_authentication").val();
|
||||
vvvvwci(protocol_vvvvwci,authentication_vvvvwci);
|
||||
|
||||
var protocol_vvvvwec = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwec = jQuery("#jform_authentication").val();
|
||||
vvvvwec(protocol_vvvvwec,authentication_vvvvwec);
|
||||
var protocol_vvvvwck = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwck = jQuery("#jform_authentication").val();
|
||||
vvvvwck(protocol_vvvvwck,authentication_vvvvwck);
|
||||
|
||||
var protocol_vvvvwee = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwee = jQuery("#jform_authentication").val();
|
||||
vvvvwee(protocol_vvvvwee,authentication_vvvvwee);
|
||||
var protocol_vvvvwcm = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwcm = jQuery("#jform_authentication").val();
|
||||
vvvvwcm(protocol_vvvvwcm,authentication_vvvvwcm);
|
||||
|
||||
var protocol_vvvvweg = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvweg = jQuery("#jform_authentication").val();
|
||||
vvvvweg(protocol_vvvvweg,authentication_vvvvweg);
|
||||
var protocol_vvvvwco = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwco = jQuery("#jform_authentication").val();
|
||||
vvvvwco(protocol_vvvvwco,authentication_vvvvwco);
|
||||
});
|
||||
|
||||
// the vvvvwdy function
|
||||
function vvvvwdy(protocol_vvvvwdy)
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(protocol_vvvvwcg)
|
||||
{
|
||||
if (isSet(protocol_vvvvwdy) && protocol_vvvvwdy.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwcg) && protocol_vvvvwcg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdy = protocol_vvvvwdy;
|
||||
var protocol_vvvvwdy = [];
|
||||
protocol_vvvvwdy.push(temp_vvvvwdy);
|
||||
var temp_vvvvwcg = protocol_vvvvwcg;
|
||||
var protocol_vvvvwcg = [];
|
||||
protocol_vvvvwcg.push(temp_vvvvwcg);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwdy))
|
||||
else if (!isSet(protocol_vvvvwcg))
|
||||
{
|
||||
var protocol_vvvvwdy = [];
|
||||
var protocol_vvvvwcg = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwdy.some(protocol_vvvvwdy_SomeFunc);
|
||||
var protocol = protocol_vvvvwcg.some(protocol_vvvvwcg_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -66,137 +66,137 @@ function vvvvwdy(protocol_vvvvwdy)
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
// add required attribute to authentication field
|
||||
if (jform_vvvvwdyvyd_required)
|
||||
if (jform_vvvvwcgvxu_required)
|
||||
{
|
||||
updateFieldRequired('authentication',0);
|
||||
jQuery('#jform_authentication').prop('required','required');
|
||||
jQuery('#jform_authentication').attr('aria-required',true);
|
||||
jQuery('#jform_authentication').addClass('required');
|
||||
jform_vvvvwdyvyd_required = false;
|
||||
jform_vvvvwcgvxu_required = false;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
// add required attribute to host field
|
||||
if (jform_vvvvwdyvye_required)
|
||||
if (jform_vvvvwcgvxv_required)
|
||||
{
|
||||
updateFieldRequired('host',0);
|
||||
jQuery('#jform_host').prop('required','required');
|
||||
jQuery('#jform_host').attr('aria-required',true);
|
||||
jQuery('#jform_host').addClass('required');
|
||||
jform_vvvvwdyvye_required = false;
|
||||
jform_vvvvwcgvxv_required = false;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
// add required attribute to port field
|
||||
if (jform_vvvvwdyvyf_required)
|
||||
if (jform_vvvvwcgvxw_required)
|
||||
{
|
||||
updateFieldRequired('port',0);
|
||||
jQuery('#jform_port').prop('required','required');
|
||||
jQuery('#jform_port').attr('aria-required',true);
|
||||
jQuery('#jform_port').addClass('required');
|
||||
jform_vvvvwdyvyf_required = false;
|
||||
jform_vvvvwcgvxw_required = false;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwdyvyg_required)
|
||||
if (jform_vvvvwcgvxx_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwdyvyg_required = false;
|
||||
jform_vvvvwcgvxx_required = false;
|
||||
}
|
||||
jQuery('.note_ssh_security').closest('.control-group').show();
|
||||
jQuery('#jform_username').closest('.control-group').show();
|
||||
// add required attribute to username field
|
||||
if (jform_vvvvwdyvyh_required)
|
||||
if (jform_vvvvwcgvxy_required)
|
||||
{
|
||||
updateFieldRequired('username',0);
|
||||
jQuery('#jform_username').prop('required','required');
|
||||
jQuery('#jform_username').attr('aria-required',true);
|
||||
jQuery('#jform_username').addClass('required');
|
||||
jform_vvvvwdyvyh_required = false;
|
||||
jform_vvvvwcgvxy_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
// remove required attribute from authentication field
|
||||
if (!jform_vvvvwdyvyd_required)
|
||||
if (!jform_vvvvwcgvxu_required)
|
||||
{
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwdyvyd_required = true;
|
||||
jform_vvvvwcgvxu_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
// remove required attribute from host field
|
||||
if (!jform_vvvvwdyvye_required)
|
||||
if (!jform_vvvvwcgvxv_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwdyvye_required = true;
|
||||
jform_vvvvwcgvxv_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
// remove required attribute from port field
|
||||
if (!jform_vvvvwdyvyf_required)
|
||||
if (!jform_vvvvwcgvxw_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwdyvyf_required = true;
|
||||
jform_vvvvwcgvxw_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwdyvyg_required)
|
||||
if (!jform_vvvvwcgvxx_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwdyvyg_required = true;
|
||||
jform_vvvvwcgvxx_required = true;
|
||||
}
|
||||
jQuery('.note_ssh_security').closest('.control-group').hide();
|
||||
jQuery('#jform_username').closest('.control-group').hide();
|
||||
// remove required attribute from username field
|
||||
if (!jform_vvvvwdyvyh_required)
|
||||
if (!jform_vvvvwcgvxy_required)
|
||||
{
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwdyvyh_required = true;
|
||||
jform_vvvvwcgvxy_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdy Some function
|
||||
function protocol_vvvvwdy_SomeFunc(protocol_vvvvwdy)
|
||||
// the vvvvwcg Some function
|
||||
function protocol_vvvvwcg_SomeFunc(protocol_vvvvwcg)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwdy == 2)
|
||||
if (protocol_vvvvwcg == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdz function
|
||||
function vvvvwdz(protocol_vvvvwdz)
|
||||
// the vvvvwch function
|
||||
function vvvvwch(protocol_vvvvwch)
|
||||
{
|
||||
if (isSet(protocol_vvvvwdz) && protocol_vvvvwdz.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwch) && protocol_vvvvwch.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdz = protocol_vvvvwdz;
|
||||
var protocol_vvvvwdz = [];
|
||||
protocol_vvvvwdz.push(temp_vvvvwdz);
|
||||
var temp_vvvvwch = protocol_vvvvwch;
|
||||
var protocol_vvvvwch = [];
|
||||
protocol_vvvvwch.push(temp_vvvvwch);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwdz))
|
||||
else if (!isSet(protocol_vvvvwch))
|
||||
{
|
||||
var protocol_vvvvwdz = [];
|
||||
var protocol_vvvvwch = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwdz.some(protocol_vvvvwdz_SomeFunc);
|
||||
var protocol = protocol_vvvvwch.some(protocol_vvvvwch_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -205,13 +205,13 @@ function vvvvwdz(protocol_vvvvwdz)
|
||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||
jQuery('#jform_signature').closest('.control-group').show();
|
||||
// add required attribute to signature field
|
||||
if (jform_vvvvwdzvyi_required)
|
||||
if (jform_vvvvwchvxz_required)
|
||||
{
|
||||
updateFieldRequired('signature',0);
|
||||
jQuery('#jform_signature').prop('required','required');
|
||||
jQuery('#jform_signature').attr('aria-required',true);
|
||||
jQuery('#jform_signature').addClass('required');
|
||||
jform_vvvvwdzvyi_required = false;
|
||||
jform_vvvvwchvxz_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -219,54 +219,54 @@ function vvvvwdz(protocol_vvvvwdz)
|
||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_signature').closest('.control-group').hide();
|
||||
// remove required attribute from signature field
|
||||
if (!jform_vvvvwdzvyi_required)
|
||||
if (!jform_vvvvwchvxz_required)
|
||||
{
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
jform_vvvvwdzvyi_required = true;
|
||||
jform_vvvvwchvxz_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdz Some function
|
||||
function protocol_vvvvwdz_SomeFunc(protocol_vvvvwdz)
|
||||
// the vvvvwch Some function
|
||||
function protocol_vvvvwch_SomeFunc(protocol_vvvvwch)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwdz == 1)
|
||||
if (protocol_vvvvwch == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwea function
|
||||
function vvvvwea(protocol_vvvvwea,authentication_vvvvwea)
|
||||
// the vvvvwci function
|
||||
function vvvvwci(protocol_vvvvwci,authentication_vvvvwci)
|
||||
{
|
||||
if (isSet(protocol_vvvvwea) && protocol_vvvvwea.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwci) && protocol_vvvvwci.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwea = protocol_vvvvwea;
|
||||
var protocol_vvvvwea = [];
|
||||
protocol_vvvvwea.push(temp_vvvvwea);
|
||||
var temp_vvvvwci = protocol_vvvvwci;
|
||||
var protocol_vvvvwci = [];
|
||||
protocol_vvvvwci.push(temp_vvvvwci);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwea))
|
||||
else if (!isSet(protocol_vvvvwci))
|
||||
{
|
||||
var protocol_vvvvwea = [];
|
||||
var protocol_vvvvwci = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwea.some(protocol_vvvvwea_SomeFunc);
|
||||
var protocol = protocol_vvvvwci.some(protocol_vvvvwci_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwea) && authentication_vvvvwea.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwci) && authentication_vvvvwci.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwea = authentication_vvvvwea;
|
||||
var authentication_vvvvwea = [];
|
||||
authentication_vvvvwea.push(temp_vvvvwea);
|
||||
var temp_vvvvwci = authentication_vvvvwci;
|
||||
var authentication_vvvvwci = [];
|
||||
authentication_vvvvwci.push(temp_vvvvwci);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwea))
|
||||
else if (!isSet(authentication_vvvvwci))
|
||||
{
|
||||
var authentication_vvvvwea = [];
|
||||
var authentication_vvvvwci = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwea.some(authentication_vvvvwea_SomeFunc);
|
||||
var authentication = authentication_vvvvwci.some(authentication_vvvvwci_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -274,78 +274,78 @@ function vvvvwea(protocol_vvvvwea,authentication_vvvvwea)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
// add required attribute to password field
|
||||
if (jform_vvvvweavyj_required)
|
||||
if (jform_vvvvwcivya_required)
|
||||
{
|
||||
updateFieldRequired('password',0);
|
||||
jQuery('#jform_password').prop('required','required');
|
||||
jQuery('#jform_password').attr('aria-required',true);
|
||||
jQuery('#jform_password').addClass('required');
|
||||
jform_vvvvweavyj_required = false;
|
||||
jform_vvvvwcivya_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
// remove required attribute from password field
|
||||
if (!jform_vvvvweavyj_required)
|
||||
if (!jform_vvvvwcivya_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
jform_vvvvweavyj_required = true;
|
||||
jform_vvvvwcivya_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwea Some function
|
||||
function protocol_vvvvwea_SomeFunc(protocol_vvvvwea)
|
||||
// the vvvvwci Some function
|
||||
function protocol_vvvvwci_SomeFunc(protocol_vvvvwci)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwea == 2)
|
||||
if (protocol_vvvvwci == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwea Some function
|
||||
function authentication_vvvvwea_SomeFunc(authentication_vvvvwea)
|
||||
// the vvvvwci Some function
|
||||
function authentication_vvvvwci_SomeFunc(authentication_vvvvwci)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwea == 1 || authentication_vvvvwea == 3 || authentication_vvvvwea == 5)
|
||||
if (authentication_vvvvwci == 1 || authentication_vvvvwci == 3 || authentication_vvvvwci == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwec function
|
||||
function vvvvwec(protocol_vvvvwec,authentication_vvvvwec)
|
||||
// the vvvvwck function
|
||||
function vvvvwck(protocol_vvvvwck,authentication_vvvvwck)
|
||||
{
|
||||
if (isSet(protocol_vvvvwec) && protocol_vvvvwec.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwck) && protocol_vvvvwck.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwec = protocol_vvvvwec;
|
||||
var protocol_vvvvwec = [];
|
||||
protocol_vvvvwec.push(temp_vvvvwec);
|
||||
var temp_vvvvwck = protocol_vvvvwck;
|
||||
var protocol_vvvvwck = [];
|
||||
protocol_vvvvwck.push(temp_vvvvwck);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwec))
|
||||
else if (!isSet(protocol_vvvvwck))
|
||||
{
|
||||
var protocol_vvvvwec = [];
|
||||
var protocol_vvvvwck = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwec.some(protocol_vvvvwec_SomeFunc);
|
||||
var protocol = protocol_vvvvwck.some(protocol_vvvvwck_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwec) && authentication_vvvvwec.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwck) && authentication_vvvvwck.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwec = authentication_vvvvwec;
|
||||
var authentication_vvvvwec = [];
|
||||
authentication_vvvvwec.push(temp_vvvvwec);
|
||||
var temp_vvvvwck = authentication_vvvvwck;
|
||||
var authentication_vvvvwck = [];
|
||||
authentication_vvvvwck.push(temp_vvvvwck);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwec))
|
||||
else if (!isSet(authentication_vvvvwck))
|
||||
{
|
||||
var authentication_vvvvwec = [];
|
||||
var authentication_vvvvwck = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwec.some(authentication_vvvvwec_SomeFunc);
|
||||
var authentication = authentication_vvvvwck.some(authentication_vvvvwck_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -353,78 +353,78 @@ function vvvvwec(protocol_vvvvwec,authentication_vvvvwec)
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').show();
|
||||
// add required attribute to private field
|
||||
if (jform_vvvvwecvyk_required)
|
||||
if (jform_vvvvwckvyb_required)
|
||||
{
|
||||
updateFieldRequired('private',0);
|
||||
jQuery('#jform_private').prop('required','required');
|
||||
jQuery('#jform_private').attr('aria-required',true);
|
||||
jQuery('#jform_private').addClass('required');
|
||||
jform_vvvvwecvyk_required = false;
|
||||
jform_vvvvwckvyb_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').hide();
|
||||
// remove required attribute from private field
|
||||
if (!jform_vvvvwecvyk_required)
|
||||
if (!jform_vvvvwckvyb_required)
|
||||
{
|
||||
updateFieldRequired('private',1);
|
||||
jQuery('#jform_private').removeAttr('required');
|
||||
jQuery('#jform_private').removeAttr('aria-required');
|
||||
jQuery('#jform_private').removeClass('required');
|
||||
jform_vvvvwecvyk_required = true;
|
||||
jform_vvvvwckvyb_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwec Some function
|
||||
function protocol_vvvvwec_SomeFunc(protocol_vvvvwec)
|
||||
// the vvvvwck Some function
|
||||
function protocol_vvvvwck_SomeFunc(protocol_vvvvwck)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwec == 2)
|
||||
if (protocol_vvvvwck == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwec Some function
|
||||
function authentication_vvvvwec_SomeFunc(authentication_vvvvwec)
|
||||
// the vvvvwck Some function
|
||||
function authentication_vvvvwck_SomeFunc(authentication_vvvvwck)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwec == 2 || authentication_vvvvwec == 3)
|
||||
if (authentication_vvvvwck == 2 || authentication_vvvvwck == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwee function
|
||||
function vvvvwee(protocol_vvvvwee,authentication_vvvvwee)
|
||||
// the vvvvwcm function
|
||||
function vvvvwcm(protocol_vvvvwcm,authentication_vvvvwcm)
|
||||
{
|
||||
if (isSet(protocol_vvvvwee) && protocol_vvvvwee.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwcm) && protocol_vvvvwcm.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwee = protocol_vvvvwee;
|
||||
var protocol_vvvvwee = [];
|
||||
protocol_vvvvwee.push(temp_vvvvwee);
|
||||
var temp_vvvvwcm = protocol_vvvvwcm;
|
||||
var protocol_vvvvwcm = [];
|
||||
protocol_vvvvwcm.push(temp_vvvvwcm);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwee))
|
||||
else if (!isSet(protocol_vvvvwcm))
|
||||
{
|
||||
var protocol_vvvvwee = [];
|
||||
var protocol_vvvvwcm = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwee.some(protocol_vvvvwee_SomeFunc);
|
||||
var protocol = protocol_vvvvwcm.some(protocol_vvvvwcm_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwee) && authentication_vvvvwee.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwcm) && authentication_vvvvwcm.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwee = authentication_vvvvwee;
|
||||
var authentication_vvvvwee = [];
|
||||
authentication_vvvvwee.push(temp_vvvvwee);
|
||||
var temp_vvvvwcm = authentication_vvvvwcm;
|
||||
var authentication_vvvvwcm = [];
|
||||
authentication_vvvvwcm.push(temp_vvvvwcm);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwee))
|
||||
else if (!isSet(authentication_vvvvwcm))
|
||||
{
|
||||
var authentication_vvvvwee = [];
|
||||
var authentication_vvvvwcm = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwee.some(authentication_vvvvwee_SomeFunc);
|
||||
var authentication = authentication_vvvvwcm.some(authentication_vvvvwcm_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -432,78 +432,78 @@ function vvvvwee(protocol_vvvvwee,authentication_vvvvwee)
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').show();
|
||||
// add required attribute to private_key field
|
||||
if (jform_vvvvweevyl_required)
|
||||
if (jform_vvvvwcmvyc_required)
|
||||
{
|
||||
updateFieldRequired('private_key',0);
|
||||
jQuery('#jform_private_key').prop('required','required');
|
||||
jQuery('#jform_private_key').attr('aria-required',true);
|
||||
jQuery('#jform_private_key').addClass('required');
|
||||
jform_vvvvweevyl_required = false;
|
||||
jform_vvvvwcmvyc_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').hide();
|
||||
// remove required attribute from private_key field
|
||||
if (!jform_vvvvweevyl_required)
|
||||
if (!jform_vvvvwcmvyc_required)
|
||||
{
|
||||
updateFieldRequired('private_key',1);
|
||||
jQuery('#jform_private_key').removeAttr('required');
|
||||
jQuery('#jform_private_key').removeAttr('aria-required');
|
||||
jQuery('#jform_private_key').removeClass('required');
|
||||
jform_vvvvweevyl_required = true;
|
||||
jform_vvvvwcmvyc_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwee Some function
|
||||
function protocol_vvvvwee_SomeFunc(protocol_vvvvwee)
|
||||
// the vvvvwcm Some function
|
||||
function protocol_vvvvwcm_SomeFunc(protocol_vvvvwcm)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwee == 2)
|
||||
if (protocol_vvvvwcm == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwee Some function
|
||||
function authentication_vvvvwee_SomeFunc(authentication_vvvvwee)
|
||||
// the vvvvwcm Some function
|
||||
function authentication_vvvvwcm_SomeFunc(authentication_vvvvwcm)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwee == 4 || authentication_vvvvwee == 5)
|
||||
if (authentication_vvvvwcm == 4 || authentication_vvvvwcm == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvweg function
|
||||
function vvvvweg(protocol_vvvvweg,authentication_vvvvweg)
|
||||
// the vvvvwco function
|
||||
function vvvvwco(protocol_vvvvwco,authentication_vvvvwco)
|
||||
{
|
||||
if (isSet(protocol_vvvvweg) && protocol_vvvvweg.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwco) && protocol_vvvvwco.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvweg = protocol_vvvvweg;
|
||||
var protocol_vvvvweg = [];
|
||||
protocol_vvvvweg.push(temp_vvvvweg);
|
||||
var temp_vvvvwco = protocol_vvvvwco;
|
||||
var protocol_vvvvwco = [];
|
||||
protocol_vvvvwco.push(temp_vvvvwco);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvweg))
|
||||
else if (!isSet(protocol_vvvvwco))
|
||||
{
|
||||
var protocol_vvvvweg = [];
|
||||
var protocol_vvvvwco = [];
|
||||
}
|
||||
var protocol = protocol_vvvvweg.some(protocol_vvvvweg_SomeFunc);
|
||||
var protocol = protocol_vvvvwco.some(protocol_vvvvwco_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvweg) && authentication_vvvvweg.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwco) && authentication_vvvvwco.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvweg = authentication_vvvvweg;
|
||||
var authentication_vvvvweg = [];
|
||||
authentication_vvvvweg.push(temp_vvvvweg);
|
||||
var temp_vvvvwco = authentication_vvvvwco;
|
||||
var authentication_vvvvwco = [];
|
||||
authentication_vvvvwco.push(temp_vvvvwco);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvweg))
|
||||
else if (!isSet(authentication_vvvvwco))
|
||||
{
|
||||
var authentication_vvvvweg = [];
|
||||
var authentication_vvvvwco = [];
|
||||
}
|
||||
var authentication = authentication_vvvvweg.some(authentication_vvvvweg_SomeFunc);
|
||||
var authentication = authentication_vvvvwco.some(authentication_vvvvwco_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -517,22 +517,22 @@ function vvvvweg(protocol_vvvvweg,authentication_vvvvweg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvweg Some function
|
||||
function protocol_vvvvweg_SomeFunc(protocol_vvvvweg)
|
||||
// the vvvvwco Some function
|
||||
function protocol_vvvvwco_SomeFunc(protocol_vvvvwco)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvweg == 2)
|
||||
if (protocol_vvvvwco == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvweg Some function
|
||||
function authentication_vvvvweg_SomeFunc(authentication_vvvvweg)
|
||||
// the vvvvwco Some function
|
||||
function authentication_vvvvwco_SomeFunc(authentication_vvvvwco)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvweg == 2 || authentication_vvvvweg == 3 || authentication_vvvvweg == 4 || authentication_vvvvweg == 5)
|
||||
if (authentication_vvvvwco == 2 || authentication_vvvvwco == 3 || authentication_vvvvwco == 4 || authentication_vvvvwco == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -11,45 +11,45 @@
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var add_php_view_vvvvwan = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwan(add_php_view_vvvvwan);
|
||||
var add_php_view_vvvvvyv = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvyv(add_php_view_vvvvvyv);
|
||||
|
||||
var add_php_jview_display_vvvvwao = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvwao(add_php_jview_display_vvvvwao);
|
||||
var add_php_jview_display_vvvvvyw = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvvyw(add_php_jview_display_vvvvvyw);
|
||||
|
||||
var add_php_jview_vvvvwap = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvwap(add_php_jview_vvvvwap);
|
||||
var add_php_jview_vvvvvyx = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvvyx(add_php_jview_vvvvvyx);
|
||||
|
||||
var add_php_document_vvvvwaq = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvwaq(add_php_document_vvvvwaq);
|
||||
var add_php_document_vvvvvyy = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvyy(add_php_document_vvvvvyy);
|
||||
|
||||
var add_css_document_vvvvwar = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvwar(add_css_document_vvvvwar);
|
||||
var add_css_document_vvvvvyz = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvvyz(add_css_document_vvvvvyz);
|
||||
|
||||
var add_javascript_file_vvvvwas = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvwas(add_javascript_file_vvvvwas);
|
||||
var add_javascript_file_vvvvvza = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvvza(add_javascript_file_vvvvvza);
|
||||
|
||||
var add_js_document_vvvvwat = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvwat(add_js_document_vvvvwat);
|
||||
var add_js_document_vvvvvzb = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvvzb(add_js_document_vvvvvzb);
|
||||
|
||||
var add_css_vvvvwau = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvwau(add_css_vvvvwau);
|
||||
var add_css_vvvvvzc = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvvzc(add_css_vvvvvzc);
|
||||
|
||||
var add_php_ajax_vvvvwav = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvwav(add_php_ajax_vvvvwav);
|
||||
var add_php_ajax_vvvvvzd = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzd(add_php_ajax_vvvvvzd);
|
||||
|
||||
var add_custom_button_vvvvwaw = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwaw(add_custom_button_vvvvwaw);
|
||||
var add_custom_button_vvvvvze = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvvze(add_custom_button_vvvvvze);
|
||||
|
||||
var button_position_vvvvwax = jQuery("#jform_button_position").val();
|
||||
vvvvwax(button_position_vvvvwax);
|
||||
var button_position_vvvvvzf = jQuery("#jform_button_position").val();
|
||||
vvvvvzf(button_position_vvvvvzf);
|
||||
});
|
||||
|
||||
// the vvvvwan function
|
||||
function vvvvwan(add_php_view_vvvvwan)
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_php_view_vvvvvyv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvwan == 1)
|
||||
if (add_php_view_vvvvvyv == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -59,11 +59,11 @@ function vvvvwan(add_php_view_vvvvwan)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwao function
|
||||
function vvvvwao(add_php_jview_display_vvvvwao)
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_php_jview_display_vvvvvyw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvwao == 1)
|
||||
if (add_php_jview_display_vvvvvyw == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -73,11 +73,11 @@ function vvvvwao(add_php_jview_display_vvvvwao)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwap function
|
||||
function vvvvwap(add_php_jview_vvvvwap)
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_php_jview_vvvvvyx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvwap == 1)
|
||||
if (add_php_jview_vvvvvyx == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -87,11 +87,11 @@ function vvvvwap(add_php_jview_vvvvwap)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaq function
|
||||
function vvvvwaq(add_php_document_vvvvwaq)
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_php_document_vvvvvyy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvwaq == 1)
|
||||
if (add_php_document_vvvvvyy == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -101,11 +101,11 @@ function vvvvwaq(add_php_document_vvvvwaq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwar function
|
||||
function vvvvwar(add_css_document_vvvvwar)
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_css_document_vvvvvyz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvwar == 1)
|
||||
if (add_css_document_vvvvvyz == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -115,11 +115,11 @@ function vvvvwar(add_css_document_vvvvwar)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwas function
|
||||
function vvvvwas(add_javascript_file_vvvvwas)
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_javascript_file_vvvvvza)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvwas == 1)
|
||||
if (add_javascript_file_vvvvvza == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -129,11 +129,11 @@ function vvvvwas(add_javascript_file_vvvvwas)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwat function
|
||||
function vvvvwat(add_js_document_vvvvwat)
|
||||
// the vvvvvzb function
|
||||
function vvvvvzb(add_js_document_vvvvvzb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvwat == 1)
|
||||
if (add_js_document_vvvvvzb == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -143,11 +143,11 @@ function vvvvwat(add_js_document_vvvvwat)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwau function
|
||||
function vvvvwau(add_css_vvvvwau)
|
||||
// the vvvvvzc function
|
||||
function vvvvvzc(add_css_vvvvvzc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvwau == 1)
|
||||
if (add_css_vvvvvzc == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -157,11 +157,11 @@ function vvvvwau(add_css_vvvvwau)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwav function
|
||||
function vvvvwav(add_php_ajax_vvvvwav)
|
||||
// the vvvvvzd function
|
||||
function vvvvvzd(add_php_ajax_vvvvvzd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvwav == 1)
|
||||
if (add_php_ajax_vvvvvzd == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
@ -173,11 +173,11 @@ function vvvvwav(add_php_ajax_vvvvwav)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaw function
|
||||
function vvvvwaw(add_custom_button_vvvvwaw)
|
||||
// the vvvvvze function
|
||||
function vvvvvze(add_custom_button_vvvvvze)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvwaw == 1)
|
||||
if (add_custom_button_vvvvvze == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
@ -191,20 +191,20 @@ function vvvvwaw(add_custom_button_vvvvwaw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwax function
|
||||
function vvvvwax(button_position_vvvvwax)
|
||||
// the vvvvvzf function
|
||||
function vvvvvzf(button_position_vvvvvzf)
|
||||
{
|
||||
if (isSet(button_position_vvvvwax) && button_position_vvvvwax.constructor !== Array)
|
||||
if (isSet(button_position_vvvvvzf) && button_position_vvvvvzf.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwax = button_position_vvvvwax;
|
||||
var button_position_vvvvwax = [];
|
||||
button_position_vvvvwax.push(temp_vvvvwax);
|
||||
var temp_vvvvvzf = button_position_vvvvvzf;
|
||||
var button_position_vvvvvzf = [];
|
||||
button_position_vvvvvzf.push(temp_vvvvvzf);
|
||||
}
|
||||
else if (!isSet(button_position_vvvvwax))
|
||||
else if (!isSet(button_position_vvvvvzf))
|
||||
{
|
||||
var button_position_vvvvwax = [];
|
||||
var button_position_vvvvvzf = [];
|
||||
}
|
||||
var button_position = button_position_vvvvwax.some(button_position_vvvvwax_SomeFunc);
|
||||
var button_position = button_position_vvvvvzf.some(button_position_vvvvvzf_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -218,11 +218,11 @@ function vvvvwax(button_position_vvvvwax)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwax Some function
|
||||
function button_position_vvvvwax_SomeFunc(button_position_vvvvwax)
|
||||
// the vvvvvzf Some function
|
||||
function button_position_vvvvvzf_SomeFunc(button_position_vvvvvzf)
|
||||
{
|
||||
// set the function logic
|
||||
if (button_position_vvvvwax == 5)
|
||||
if (button_position_vvvvvzf == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -11,15 +11,15 @@
|
||||
// Initial Script
|
||||
document.addEventListener('DOMContentLoaded', function()
|
||||
{
|
||||
var add_php_view_vvvvway = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvway(add_php_view_vvvvway);
|
||||
var add_php_view_vvvvvzg = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_view_vvvvvzg);
|
||||
});
|
||||
|
||||
// the vvvvway function
|
||||
function vvvvway(add_php_view_vvvvway)
|
||||
// the vvvvvzg function
|
||||
function vvvvvzg(add_php_view_vvvvvzg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvway == 1)
|
||||
if (add_php_view_vvvvvzg == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
Reference in New Issue
Block a user