Moves the Pro features into the Public version of JCB.
This commit is contained in:
@ -10,123 +10,123 @@
|
||||
*/
|
||||
|
||||
// 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_vvvvvzwvwj_required = false;
|
||||
jform_vvvvvzxvwk_required = false;
|
||||
jform_vvvvwabvwl_required = false;
|
||||
jform_vvvvwabvwm_required = false;
|
||||
jform_vvvvwabvwn_required = false;
|
||||
jform_vvvvwabvwo_required = false;
|
||||
jform_vvvvwabvwp_required = false;
|
||||
jform_vvvvwabvwq_required = false;
|
||||
jform_vvvvwabvwr_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(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_vvvvvyw = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvyw(add_css_view_vvvvvyw);
|
||||
|
||||
var add_css_views_vvvvvyw = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvyw(add_css_views_vvvvvyw);
|
||||
var add_css_views_vvvvvyx = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvyx(add_css_views_vvvvvyx);
|
||||
|
||||
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_vvvvvyy = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val();
|
||||
vvvvvyy(add_javascript_view_file_vvvvvyy);
|
||||
|
||||
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_vvvvvyz = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val();
|
||||
vvvvvyz(add_javascript_views_file_vvvvvyz);
|
||||
|
||||
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_vvvvvza = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvza(add_javascript_view_footer_vvvvvza);
|
||||
|
||||
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_vvvvvzb = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvzb(add_javascript_views_footer_vvvvvzb);
|
||||
|
||||
var add_php_ajax_vvvvvzb = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzb(add_php_ajax_vvvvvzb);
|
||||
var add_php_ajax_vvvvvzc = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvvzc(add_php_ajax_vvvvvzc);
|
||||
|
||||
var add_php_getitem_vvvvvzc = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvzc(add_php_getitem_vvvvvzc);
|
||||
var add_php_getitem_vvvvvzd = jQuery("#jform_add_php_getitem input[type='radio']:checked").val();
|
||||
vvvvvzd(add_php_getitem_vvvvvzd);
|
||||
|
||||
var add_php_getitems_vvvvvzd = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvzd(add_php_getitems_vvvvvzd);
|
||||
var add_php_getitems_vvvvvze = jQuery("#jform_add_php_getitems input[type='radio']:checked").val();
|
||||
vvvvvze(add_php_getitems_vvvvvze);
|
||||
|
||||
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_vvvvvzf = jQuery("#jform_add_php_getitems_after_all input[type='radio']:checked").val();
|
||||
vvvvvzf(add_php_getitems_after_all_vvvvvzf);
|
||||
|
||||
var add_php_getlistquery_vvvvvzf = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvzf(add_php_getlistquery_vvvvvzf);
|
||||
var add_php_getlistquery_vvvvvzg = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_getlistquery_vvvvvzg);
|
||||
|
||||
var add_php_getform_vvvvvzg = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvzg(add_php_getform_vvvvvzg);
|
||||
var add_php_getform_vvvvvzh = jQuery("#jform_add_php_getform input[type='radio']:checked").val();
|
||||
vvvvvzh(add_php_getform_vvvvvzh);
|
||||
|
||||
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_vvvvvzi = jQuery("#jform_add_php_before_save input[type='radio']:checked").val();
|
||||
vvvvvzi(add_php_before_save_vvvvvzi);
|
||||
|
||||
var add_php_save_vvvvvzi = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvzi(add_php_save_vvvvvzi);
|
||||
var add_php_save_vvvvvzj = jQuery("#jform_add_php_save input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_save_vvvvvzj);
|
||||
|
||||
var add_php_postsavehook_vvvvvzj = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvzj(add_php_postsavehook_vvvvvzj);
|
||||
var add_php_postsavehook_vvvvvzk = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val();
|
||||
vvvvvzk(add_php_postsavehook_vvvvvzk);
|
||||
|
||||
var add_php_allowadd_vvvvvzk = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvzk(add_php_allowadd_vvvvvzk);
|
||||
var add_php_allowadd_vvvvvzl = jQuery("#jform_add_php_allowadd input[type='radio']:checked").val();
|
||||
vvvvvzl(add_php_allowadd_vvvvvzl);
|
||||
|
||||
var add_php_allowedit_vvvvvzl = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvzl(add_php_allowedit_vvvvvzl);
|
||||
var add_php_allowedit_vvvvvzm = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val();
|
||||
vvvvvzm(add_php_allowedit_vvvvvzm);
|
||||
|
||||
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_vvvvvzn = jQuery("#jform_add_php_before_cancel input[type='radio']:checked").val();
|
||||
vvvvvzn(add_php_before_cancel_vvvvvzn);
|
||||
|
||||
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_vvvvvzo = jQuery("#jform_add_php_after_cancel input[type='radio']:checked").val();
|
||||
vvvvvzo(add_php_after_cancel_vvvvvzo);
|
||||
|
||||
var add_php_batchcopy_vvvvvzo = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvzo(add_php_batchcopy_vvvvvzo);
|
||||
var add_php_batchcopy_vvvvvzp = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val();
|
||||
vvvvvzp(add_php_batchcopy_vvvvvzp);
|
||||
|
||||
var add_php_batchmove_vvvvvzp = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvzp(add_php_batchmove_vvvvvzp);
|
||||
var add_php_batchmove_vvvvvzq = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val();
|
||||
vvvvvzq(add_php_batchmove_vvvvvzq);
|
||||
|
||||
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_vvvvvzr = jQuery("#jform_add_php_before_publish input[type='radio']:checked").val();
|
||||
vvvvvzr(add_php_before_publish_vvvvvzr);
|
||||
|
||||
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_vvvvvzs = jQuery("#jform_add_php_after_publish input[type='radio']:checked").val();
|
||||
vvvvvzs(add_php_after_publish_vvvvvzs);
|
||||
|
||||
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_vvvvvzt = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val();
|
||||
vvvvvzt(add_php_before_delete_vvvvvzt);
|
||||
|
||||
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_vvvvvzu = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val();
|
||||
vvvvvzu(add_php_after_delete_vvvvvzu);
|
||||
|
||||
var add_php_document_vvvvvzu = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzu(add_php_document_vvvvvzu);
|
||||
var add_php_document_vvvvvzv = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvvzv(add_php_document_vvvvvzv);
|
||||
|
||||
var add_sql_vvvvvzv = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzv(add_sql_vvvvvzv);
|
||||
|
||||
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);
|
||||
vvvvvzw(add_sql_vvvvvzw);
|
||||
|
||||
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_vvvvvzx = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzx = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzx(source_vvvvvzx,add_sql_vvvvvzx);
|
||||
|
||||
var add_custom_import_vvvvwaa = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvwaa(add_custom_import_vvvvwaa);
|
||||
var source_vvvvvzz = jQuery("#jform_source input[type='radio']:checked").val();
|
||||
var add_sql_vvvvvzz = jQuery("#jform_add_sql input[type='radio']:checked").val();
|
||||
vvvvvzz(source_vvvvvzz,add_sql_vvvvvzz);
|
||||
|
||||
var add_custom_import_vvvvwab = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvwab(add_custom_import_vvvvwab);
|
||||
|
||||
var add_custom_button_vvvvwac = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwac(add_custom_button_vvvvwac);
|
||||
var add_custom_import_vvvvwac = jQuery("#jform_add_custom_import input[type='radio']:checked").val();
|
||||
vvvvwac(add_custom_import_vvvvwac);
|
||||
|
||||
var add_custom_button_vvvvwad = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwad(add_custom_button_vvvvwad);
|
||||
});
|
||||
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_css_view_vvvvvyv)
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_css_view_vvvvvyw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvvyv == 1)
|
||||
if (add_css_view_vvvvvyw == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -136,11 +136,11 @@ function vvvvvyv(add_css_view_vvvvvyv)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyw function
|
||||
function vvvvvyw(add_css_views_vvvvvyw)
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_css_views_vvvvvyx)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvvyw == 1)
|
||||
if (add_css_views_vvvvvyx == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -150,11 +150,11 @@ function vvvvvyw(add_css_views_vvvvvyw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyx function
|
||||
function vvvvvyx(add_javascript_view_file_vvvvvyx)
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_javascript_view_file_vvvvvyy)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_file_vvvvvyx == 1)
|
||||
if (add_javascript_view_file_vvvvvyy == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -164,11 +164,11 @@ function vvvvvyx(add_javascript_view_file_vvvvvyx)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyy function
|
||||
function vvvvvyy(add_javascript_views_file_vvvvvyy)
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_javascript_views_file_vvvvvyz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_file_vvvvvyy == 1)
|
||||
if (add_javascript_views_file_vvvvvyz == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -178,11 +178,11 @@ function vvvvvyy(add_javascript_views_file_vvvvvyy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvyz function
|
||||
function vvvvvyz(add_javascript_view_footer_vvvvvyz)
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_javascript_view_footer_vvvvvza)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvvyz == 1)
|
||||
if (add_javascript_view_footer_vvvvvza == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -192,11 +192,11 @@ function vvvvvyz(add_javascript_view_footer_vvvvvyz)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvza function
|
||||
function vvvvvza(add_javascript_views_footer_vvvvvza)
|
||||
// the vvvvvzb function
|
||||
function vvvvvzb(add_javascript_views_footer_vvvvvzb)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvvza == 1)
|
||||
if (add_javascript_views_footer_vvvvvzb == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -206,11 +206,11 @@ function vvvvvza(add_javascript_views_footer_vvvvvza)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzb function
|
||||
function vvvvvzb(add_php_ajax_vvvvvzb)
|
||||
// the vvvvvzc function
|
||||
function vvvvvzc(add_php_ajax_vvvvvzc)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvvzb == 1)
|
||||
if (add_php_ajax_vvvvvzc == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
@ -222,11 +222,11 @@ function vvvvvzb(add_php_ajax_vvvvvzb)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzc function
|
||||
function vvvvvzc(add_php_getitem_vvvvvzc)
|
||||
// the vvvvvzd function
|
||||
function vvvvvzd(add_php_getitem_vvvvvzd)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitem_vvvvvzc == 1)
|
||||
if (add_php_getitem_vvvvvzd == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitem-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -236,11 +236,11 @@ function vvvvvzc(add_php_getitem_vvvvvzc)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzd function
|
||||
function vvvvvzd(add_php_getitems_vvvvvzd)
|
||||
// the vvvvvze function
|
||||
function vvvvvze(add_php_getitems_vvvvvze)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitems_vvvvvzd == 1)
|
||||
if (add_php_getitems_vvvvvze == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitems-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -250,11 +250,11 @@ function vvvvvzd(add_php_getitems_vvvvvzd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvze function
|
||||
function vvvvvze(add_php_getitems_after_all_vvvvvze)
|
||||
// the vvvvvzf function
|
||||
function vvvvvzf(add_php_getitems_after_all_vvvvvzf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getitems_after_all_vvvvvze == 1)
|
||||
if (add_php_getitems_after_all_vvvvvzf == 1)
|
||||
{
|
||||
jQuery('#jform_php_getitems_after_all-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -264,11 +264,11 @@ function vvvvvze(add_php_getitems_after_all_vvvvvze)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzf function
|
||||
function vvvvvzf(add_php_getlistquery_vvvvvzf)
|
||||
// the vvvvvzg function
|
||||
function vvvvvzg(add_php_getlistquery_vvvvvzg)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getlistquery_vvvvvzf == 1)
|
||||
if (add_php_getlistquery_vvvvvzg == 1)
|
||||
{
|
||||
jQuery('#jform_php_getlistquery-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -278,11 +278,11 @@ function vvvvvzf(add_php_getlistquery_vvvvvzf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzg function
|
||||
function vvvvvzg(add_php_getform_vvvvvzg)
|
||||
// the vvvvvzh function
|
||||
function vvvvvzh(add_php_getform_vvvvvzh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_getform_vvvvvzg == 1)
|
||||
if (add_php_getform_vvvvvzh == 1)
|
||||
{
|
||||
jQuery('#jform_php_getform-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -292,11 +292,11 @@ function vvvvvzg(add_php_getform_vvvvvzg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzh function
|
||||
function vvvvvzh(add_php_before_save_vvvvvzh)
|
||||
// the vvvvvzi function
|
||||
function vvvvvzi(add_php_before_save_vvvvvzi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_save_vvvvvzh == 1)
|
||||
if (add_php_before_save_vvvvvzi == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_save-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -306,11 +306,11 @@ function vvvvvzh(add_php_before_save_vvvvvzh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzi function
|
||||
function vvvvvzi(add_php_save_vvvvvzi)
|
||||
// the vvvvvzj function
|
||||
function vvvvvzj(add_php_save_vvvvvzj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_save_vvvvvzi == 1)
|
||||
if (add_php_save_vvvvvzj == 1)
|
||||
{
|
||||
jQuery('#jform_php_save-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -320,11 +320,11 @@ function vvvvvzi(add_php_save_vvvvvzi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzj function
|
||||
function vvvvvzj(add_php_postsavehook_vvvvvzj)
|
||||
// the vvvvvzk function
|
||||
function vvvvvzk(add_php_postsavehook_vvvvvzk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_postsavehook_vvvvvzj == 1)
|
||||
if (add_php_postsavehook_vvvvvzk == 1)
|
||||
{
|
||||
jQuery('#jform_php_postsavehook-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -334,11 +334,11 @@ function vvvvvzj(add_php_postsavehook_vvvvvzj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzk function
|
||||
function vvvvvzk(add_php_allowadd_vvvvvzk)
|
||||
// the vvvvvzl function
|
||||
function vvvvvzl(add_php_allowadd_vvvvvzl)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_allowadd_vvvvvzk == 1)
|
||||
if (add_php_allowadd_vvvvvzl == 1)
|
||||
{
|
||||
jQuery('#jform_php_allowadd-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -348,11 +348,11 @@ function vvvvvzk(add_php_allowadd_vvvvvzk)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzl function
|
||||
function vvvvvzl(add_php_allowedit_vvvvvzl)
|
||||
// the vvvvvzm function
|
||||
function vvvvvzm(add_php_allowedit_vvvvvzm)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_allowedit_vvvvvzl == 1)
|
||||
if (add_php_allowedit_vvvvvzm == 1)
|
||||
{
|
||||
jQuery('#jform_php_allowedit-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -362,11 +362,11 @@ function vvvvvzl(add_php_allowedit_vvvvvzl)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzm function
|
||||
function vvvvvzm(add_php_before_cancel_vvvvvzm)
|
||||
// the vvvvvzn function
|
||||
function vvvvvzn(add_php_before_cancel_vvvvvzn)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_cancel_vvvvvzm == 1)
|
||||
if (add_php_before_cancel_vvvvvzn == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_cancel-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -376,11 +376,11 @@ function vvvvvzm(add_php_before_cancel_vvvvvzm)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzn function
|
||||
function vvvvvzn(add_php_after_cancel_vvvvvzn)
|
||||
// the vvvvvzo function
|
||||
function vvvvvzo(add_php_after_cancel_vvvvvzo)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_cancel_vvvvvzn == 1)
|
||||
if (add_php_after_cancel_vvvvvzo == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_cancel-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -390,11 +390,11 @@ function vvvvvzn(add_php_after_cancel_vvvvvzn)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzo function
|
||||
function vvvvvzo(add_php_batchcopy_vvvvvzo)
|
||||
// the vvvvvzp function
|
||||
function vvvvvzp(add_php_batchcopy_vvvvvzp)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_batchcopy_vvvvvzo == 1)
|
||||
if (add_php_batchcopy_vvvvvzp == 1)
|
||||
{
|
||||
jQuery('#jform_php_batchcopy-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -404,11 +404,11 @@ function vvvvvzo(add_php_batchcopy_vvvvvzo)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzp function
|
||||
function vvvvvzp(add_php_batchmove_vvvvvzp)
|
||||
// the vvvvvzq function
|
||||
function vvvvvzq(add_php_batchmove_vvvvvzq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_batchmove_vvvvvzp == 1)
|
||||
if (add_php_batchmove_vvvvvzq == 1)
|
||||
{
|
||||
jQuery('#jform_php_batchmove-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -418,11 +418,11 @@ function vvvvvzp(add_php_batchmove_vvvvvzp)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzq function
|
||||
function vvvvvzq(add_php_before_publish_vvvvvzq)
|
||||
// the vvvvvzr function
|
||||
function vvvvvzr(add_php_before_publish_vvvvvzr)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_publish_vvvvvzq == 1)
|
||||
if (add_php_before_publish_vvvvvzr == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_publish-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -432,11 +432,11 @@ function vvvvvzq(add_php_before_publish_vvvvvzq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzr function
|
||||
function vvvvvzr(add_php_after_publish_vvvvvzr)
|
||||
// the vvvvvzs function
|
||||
function vvvvvzs(add_php_after_publish_vvvvvzs)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_publish_vvvvvzr == 1)
|
||||
if (add_php_after_publish_vvvvvzs == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_publish-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -446,11 +446,11 @@ function vvvvvzr(add_php_after_publish_vvvvvzr)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzs function
|
||||
function vvvvvzs(add_php_before_delete_vvvvvzs)
|
||||
// the vvvvvzt function
|
||||
function vvvvvzt(add_php_before_delete_vvvvvzt)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_before_delete_vvvvvzs == 1)
|
||||
if (add_php_before_delete_vvvvvzt == 1)
|
||||
{
|
||||
jQuery('#jform_php_before_delete-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -460,11 +460,11 @@ function vvvvvzs(add_php_before_delete_vvvvvzs)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzt function
|
||||
function vvvvvzt(add_php_after_delete_vvvvvzt)
|
||||
// the vvvvvzu function
|
||||
function vvvvvzu(add_php_after_delete_vvvvvzu)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_after_delete_vvvvvzt == 1)
|
||||
if (add_php_after_delete_vvvvvzu == 1)
|
||||
{
|
||||
jQuery('#jform_php_after_delete-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -474,11 +474,11 @@ function vvvvvzt(add_php_after_delete_vvvvvzt)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzu function
|
||||
function vvvvvzu(add_php_document_vvvvvzu)
|
||||
// the vvvvvzv function
|
||||
function vvvvvzv(add_php_document_vvvvvzv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvvzu == 1)
|
||||
if (add_php_document_vvvvvzv == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -488,75 +488,75 @@ function vvvvvzu(add_php_document_vvvvvzu)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzv function
|
||||
function vvvvvzv(add_sql_vvvvvzv)
|
||||
// the vvvvvzw function
|
||||
function vvvvvzw(add_sql_vvvvvzw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_sql_vvvvvzv == 1)
|
||||
if (add_sql_vvvvvzw == 1)
|
||||
{
|
||||
jQuery('#jform_source').closest('.control-group').show();
|
||||
// add required attribute to source field
|
||||
if (jform_vvvvvzvvwj_required)
|
||||
if (jform_vvvvvzwvwj_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_vvvvvzwvwj_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_source').closest('.control-group').hide();
|
||||
// remove required attribute from source field
|
||||
if (!jform_vvvvvzvvwj_required)
|
||||
if (!jform_vvvvvzwvwj_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_vvvvvzwvwj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzw function
|
||||
function vvvvvzw(source_vvvvvzw,add_sql_vvvvvzw)
|
||||
// the vvvvvzx function
|
||||
function vvvvvzx(source_vvvvvzx,add_sql_vvvvvzx)
|
||||
{
|
||||
// set the function logic
|
||||
if (source_vvvvvzw == 2 && add_sql_vvvvvzw == 1)
|
||||
if (source_vvvvvzx == 2 && add_sql_vvvvvzx == 1)
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').show();
|
||||
// add required attribute to sql field
|
||||
if (jform_vvvvvzwvwk_required)
|
||||
if (jform_vvvvvzxvwk_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;
|
||||
jform_vvvvvzxvwk_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_sql').closest('.control-group').hide();
|
||||
// remove required attribute from sql field
|
||||
if (!jform_vvvvvzwvwk_required)
|
||||
if (!jform_vvvvvzxvwk_required)
|
||||
{
|
||||
updateFieldRequired('sql',1);
|
||||
jQuery('#jform_sql').removeAttr('required');
|
||||
jQuery('#jform_sql').removeAttr('aria-required');
|
||||
jQuery('#jform_sql').removeClass('required');
|
||||
jform_vvvvvzwvwk_required = true;
|
||||
jform_vvvvvzxvwk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvvzy function
|
||||
function vvvvvzy(source_vvvvvzy,add_sql_vvvvvzy)
|
||||
// the vvvvvzz function
|
||||
function vvvvvzz(source_vvvvvzz,add_sql_vvvvvzz)
|
||||
{
|
||||
// set the function logic
|
||||
if (source_vvvvvzy == 1 && add_sql_vvvvvzy == 1)
|
||||
if (source_vvvvvzz == 1 && add_sql_vvvvvzz == 1)
|
||||
{
|
||||
jQuery('#jform_addtables-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -566,165 +566,165 @@ function vvvvvzy(source_vvvvvzy,add_sql_vvvvvzy)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaa function
|
||||
function vvvvwaa(add_custom_import_vvvvwaa)
|
||||
// the vvvvwab function
|
||||
function vvvvwab(add_custom_import_vvvvwab)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_import_vvvvwaa == 1)
|
||||
if (add_custom_import_vvvvwab == 1)
|
||||
{
|
||||
jQuery('#jform_html_import_view').closest('.control-group').show();
|
||||
// add required attribute to html_import_view field
|
||||
if (jform_vvvvwaavwl_required)
|
||||
if (jform_vvvvwabvwl_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_vvvvwabvwl_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_vvvvwabvwm_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_vvvvwabvwm_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_vvvvwabvwn_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_vvvvwabvwn_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_vvvvwabvwo_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_vvvvwabvwo_required = false;
|
||||
}
|
||||
jQuery('#jform_php_import').closest('.control-group').show();
|
||||
// add required attribute to php_import field
|
||||
if (jform_vvvvwaavwp_required)
|
||||
if (jform_vvvvwabvwp_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_vvvvwabvwp_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_vvvvwabvwq_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_vvvvwabvwq_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_vvvvwabvwr_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_vvvvwabvwr_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_vvvvwabvwl_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_vvvvwabvwl_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_vvvvwabvwm_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_vvvvwabvwm_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_vvvvwabvwn_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_vvvvwabvwn_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_vvvvwabvwo_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_vvvvwabvwo_required = true;
|
||||
}
|
||||
jQuery('#jform_php_import').closest('.control-group').hide();
|
||||
// remove required attribute from php_import field
|
||||
if (!jform_vvvvwaavwp_required)
|
||||
if (!jform_vvvvwabvwp_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_vvvvwabvwp_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_vvvvwabvwq_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_vvvvwabvwq_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_vvvvwabvwr_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_vvvvwabvwr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwab function
|
||||
function vvvvwab(add_custom_import_vvvvwab)
|
||||
// the vvvvwac function
|
||||
function vvvvwac(add_custom_import_vvvvwac)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_import_vvvvwab == 0)
|
||||
if (add_custom_import_vvvvwac == 0)
|
||||
{
|
||||
jQuery('.note_beginner_import').closest('.control-group').show();
|
||||
}
|
||||
@ -734,11 +734,11 @@ function vvvvwab(add_custom_import_vvvvwab)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwac function
|
||||
function vvvvwac(add_custom_button_vvvvwac)
|
||||
// the vvvvwad function
|
||||
function vvvvwad(add_custom_button_vvvvwad)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvwac == 1)
|
||||
if (add_custom_button_vvvvwad == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
|
@ -10,29 +10,29 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcgvxk_required = false;
|
||||
jform_vvvvwchvxk_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var extension_type_vvvvwcg = jQuery("#jform_extension_type").val();
|
||||
vvvvwcg(extension_type_vvvvwcg);
|
||||
var extension_type_vvvvwch = jQuery("#jform_extension_type").val();
|
||||
vvvvwch(extension_type_vvvvwch);
|
||||
});
|
||||
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(extension_type_vvvvwcg)
|
||||
// the vvvvwch function
|
||||
function vvvvwch(extension_type_vvvvwch)
|
||||
{
|
||||
if (isSet(extension_type_vvvvwcg) && extension_type_vvvvwcg.constructor !== Array)
|
||||
if (isSet(extension_type_vvvvwch) && extension_type_vvvvwch.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcg = extension_type_vvvvwcg;
|
||||
var extension_type_vvvvwcg = [];
|
||||
extension_type_vvvvwcg.push(temp_vvvvwcg);
|
||||
var temp_vvvvwch = extension_type_vvvvwch;
|
||||
var extension_type_vvvvwch = [];
|
||||
extension_type_vvvvwch.push(temp_vvvvwch);
|
||||
}
|
||||
else if (!isSet(extension_type_vvvvwcg))
|
||||
else if (!isSet(extension_type_vvvvwch))
|
||||
{
|
||||
var extension_type_vvvvwcg = [];
|
||||
var extension_type_vvvvwch = [];
|
||||
}
|
||||
var extension_type = extension_type_vvvvwcg.some(extension_type_vvvvwcg_SomeFunc);
|
||||
var extension_type = extension_type_vvvvwch.some(extension_type_vvvvwch_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -40,35 +40,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_vvvvwchvxk_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_vvvvwchvxk_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_vvvvwchvxk_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_vvvvwchvxk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcg Some function
|
||||
function extension_type_vvvvwcg_SomeFunc(extension_type_vvvvwcg)
|
||||
// the vvvvwch Some function
|
||||
function extension_type_vvvvwch_SomeFunc(extension_type_vvvvwch)
|
||||
{
|
||||
// set the function logic
|
||||
if (extension_type_vvvvwcg == 'plugins' || extension_type_vvvvwcg == 'plugin')
|
||||
if (extension_type_vvvvwch == 'plugins' || extension_type_vvvvwch == 'plugin')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -10,29 +10,29 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcfvxj_required = false;
|
||||
jform_vvvvwcgvxj_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var extension_type_vvvvwcf = jQuery("#jform_extension_type").val();
|
||||
vvvvwcf(extension_type_vvvvwcf);
|
||||
var extension_type_vvvvwcg = jQuery("#jform_extension_type").val();
|
||||
vvvvwcg(extension_type_vvvvwcg);
|
||||
});
|
||||
|
||||
// the vvvvwcf function
|
||||
function vvvvwcf(extension_type_vvvvwcf)
|
||||
// the vvvvwcg function
|
||||
function vvvvwcg(extension_type_vvvvwcg)
|
||||
{
|
||||
if (isSet(extension_type_vvvvwcf) && extension_type_vvvvwcf.constructor !== Array)
|
||||
if (isSet(extension_type_vvvvwcg) && extension_type_vvvvwcg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcf = extension_type_vvvvwcf;
|
||||
var extension_type_vvvvwcf = [];
|
||||
extension_type_vvvvwcf.push(temp_vvvvwcf);
|
||||
var temp_vvvvwcg = extension_type_vvvvwcg;
|
||||
var extension_type_vvvvwcg = [];
|
||||
extension_type_vvvvwcg.push(temp_vvvvwcg);
|
||||
}
|
||||
else if (!isSet(extension_type_vvvvwcf))
|
||||
else if (!isSet(extension_type_vvvvwcg))
|
||||
{
|
||||
var extension_type_vvvvwcf = [];
|
||||
var extension_type_vvvvwcg = [];
|
||||
}
|
||||
var extension_type = extension_type_vvvvwcf.some(extension_type_vvvvwcf_SomeFunc);
|
||||
var extension_type = extension_type_vvvvwcg.some(extension_type_vvvvwcg_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -40,35 +40,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_vvvvwcgvxj_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_vvvvwcgvxj_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_vvvvwcgvxj_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_vvvvwcgvxj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcf Some function
|
||||
function extension_type_vvvvwcf_SomeFunc(extension_type_vvvvwcf)
|
||||
// the vvvvwcg Some function
|
||||
function extension_type_vvvvwcg_SomeFunc(extension_type_vvvvwcg)
|
||||
{
|
||||
// set the function logic
|
||||
if (extension_type_vvvvwcf == 'plugins' || extension_type_vvvvwcf == 'plugin')
|
||||
if (extension_type_vvvvwcg == 'plugins' || extension_type_vvvvwcg == 'plugin')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -12,42 +12,42 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(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_vvvvwae = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwae(add_php_view_vvvvwae);
|
||||
|
||||
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_vvvvwaf = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvwaf(add_php_jview_display_vvvvwaf);
|
||||
|
||||
var add_php_jview_vvvvwaf = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvwaf(add_php_jview_vvvvwaf);
|
||||
var add_php_jview_vvvvwag = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvwag(add_php_jview_vvvvwag);
|
||||
|
||||
var add_php_document_vvvvwag = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvwag(add_php_document_vvvvwag);
|
||||
var add_php_document_vvvvwah = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvwah(add_php_document_vvvvwah);
|
||||
|
||||
var add_css_document_vvvvwah = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvwah(add_css_document_vvvvwah);
|
||||
var add_css_document_vvvvwai = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvwai(add_css_document_vvvvwai);
|
||||
|
||||
var add_javascript_file_vvvvwai = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvwai(add_javascript_file_vvvvwai);
|
||||
var add_javascript_file_vvvvwaj = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvwaj(add_javascript_file_vvvvwaj);
|
||||
|
||||
var add_js_document_vvvvwaj = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvwaj(add_js_document_vvvvwaj);
|
||||
var add_js_document_vvvvwak = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvwak(add_js_document_vvvvwak);
|
||||
|
||||
var add_custom_button_vvvvwak = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwak(add_custom_button_vvvvwak);
|
||||
var add_custom_button_vvvvwal = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwal(add_custom_button_vvvvwal);
|
||||
|
||||
var add_css_vvvvwal = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvwal(add_css_vvvvwal);
|
||||
var add_css_vvvvwam = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvwam(add_css_vvvvwam);
|
||||
|
||||
var add_php_ajax_vvvvwam = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvwam(add_php_ajax_vvvvwam);
|
||||
var add_php_ajax_vvvvwan = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvwan(add_php_ajax_vvvvwan);
|
||||
});
|
||||
|
||||
// the vvvvwad function
|
||||
function vvvvwad(add_php_view_vvvvwad)
|
||||
// the vvvvwae function
|
||||
function vvvvwae(add_php_view_vvvvwae)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvwad == 1)
|
||||
if (add_php_view_vvvvwae == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -57,11 +57,11 @@ function vvvvwad(add_php_view_vvvvwad)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwae function
|
||||
function vvvvwae(add_php_jview_display_vvvvwae)
|
||||
// the vvvvwaf function
|
||||
function vvvvwaf(add_php_jview_display_vvvvwaf)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvwae == 1)
|
||||
if (add_php_jview_display_vvvvwaf == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -71,11 +71,11 @@ function vvvvwae(add_php_jview_display_vvvvwae)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaf function
|
||||
function vvvvwaf(add_php_jview_vvvvwaf)
|
||||
// the vvvvwag function
|
||||
function vvvvwag(add_php_jview_vvvvwag)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvwaf == 1)
|
||||
if (add_php_jview_vvvvwag == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -85,11 +85,11 @@ function vvvvwaf(add_php_jview_vvvvwaf)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwag function
|
||||
function vvvvwag(add_php_document_vvvvwag)
|
||||
// the vvvvwah function
|
||||
function vvvvwah(add_php_document_vvvvwah)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvwag == 1)
|
||||
if (add_php_document_vvvvwah == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -99,11 +99,11 @@ function vvvvwag(add_php_document_vvvvwag)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwah function
|
||||
function vvvvwah(add_css_document_vvvvwah)
|
||||
// the vvvvwai function
|
||||
function vvvvwai(add_css_document_vvvvwai)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvwah == 1)
|
||||
if (add_css_document_vvvvwai == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -113,11 +113,11 @@ function vvvvwah(add_css_document_vvvvwah)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwai function
|
||||
function vvvvwai(add_javascript_file_vvvvwai)
|
||||
// the vvvvwaj function
|
||||
function vvvvwaj(add_javascript_file_vvvvwaj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvwai == 1)
|
||||
if (add_javascript_file_vvvvwaj == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -127,11 +127,11 @@ function vvvvwai(add_javascript_file_vvvvwai)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaj function
|
||||
function vvvvwaj(add_js_document_vvvvwaj)
|
||||
// the vvvvwak function
|
||||
function vvvvwak(add_js_document_vvvvwak)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvwaj == 1)
|
||||
if (add_js_document_vvvvwak == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -141,11 +141,11 @@ function vvvvwaj(add_js_document_vvvvwaj)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwak function
|
||||
function vvvvwak(add_custom_button_vvvvwak)
|
||||
// the vvvvwal function
|
||||
function vvvvwal(add_custom_button_vvvvwal)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvwak == 1)
|
||||
if (add_custom_button_vvvvwal == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
@ -159,11 +159,11 @@ function vvvvwak(add_custom_button_vvvvwak)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwal function
|
||||
function vvvvwal(add_css_vvvvwal)
|
||||
// the vvvvwam function
|
||||
function vvvvwam(add_css_vvvvwam)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvwal == 1)
|
||||
if (add_css_vvvvwam == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -173,11 +173,11 @@ function vvvvwal(add_css_vvvvwal)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwam function
|
||||
function vvvvwam(add_php_ajax_vvvvwam)
|
||||
// the vvvvwan function
|
||||
function vvvvwan(add_php_ajax_vvvvwan)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvwam == 1)
|
||||
if (add_php_ajax_vvvvwan == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
|
@ -10,44 +10,44 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvwcbvxf_required = false;
|
||||
jform_vvvvwccvxg_required = false;
|
||||
jform_vvvvwccvxh_required = false;
|
||||
jform_vvvvwccvxi_required = false;
|
||||
jform_vvvvwccvxf_required = false;
|
||||
jform_vvvvwcdvxg_required = false;
|
||||
jform_vvvvwcdvxh_required = false;
|
||||
jform_vvvvwcdvxi_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var target_vvvvwcb = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcb(target_vvvvwcb);
|
||||
|
||||
var target_vvvvwcc = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcc(target_vvvvwcc);
|
||||
|
||||
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);
|
||||
vvvvwcd(target_vvvvwcd);
|
||||
|
||||
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_vvvvwce = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvwce(target_vvvvwce,type_vvvvwce);
|
||||
|
||||
var type_vvvvwcf = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvwcf = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwcf(type_vvvvwcf,target_vvvvwcf);
|
||||
});
|
||||
|
||||
// the vvvvwcb function
|
||||
function vvvvwcb(target_vvvvwcb)
|
||||
// the vvvvwcc function
|
||||
function vvvvwcc(target_vvvvwcc)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcb == 2)
|
||||
if (target_vvvvwcc == 2)
|
||||
{
|
||||
jQuery('#jform_function_name').closest('.control-group').show();
|
||||
// add required attribute to function_name field
|
||||
if (jform_vvvvwcbvxf_required)
|
||||
if (jform_vvvvwccvxf_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_vvvvwccvxf_required = false;
|
||||
}
|
||||
jQuery('.note_jcb_placeholder').closest('.control-group').show();
|
||||
jQuery('#jform_system_name').closest('.control-group').show();
|
||||
@ -56,102 +56,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_vvvvwccvxf_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_vvvvwccvxf_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 vvvvwcd function
|
||||
function vvvvwcd(target_vvvvwcd)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcc == 1)
|
||||
if (target_vvvvwcd == 1)
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').show();
|
||||
// add required attribute to component field
|
||||
if (jform_vvvvwccvxg_required)
|
||||
if (jform_vvvvwcdvxg_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_vvvvwcdvxg_required = false;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwccvxh_required)
|
||||
if (jform_vvvvwcdvxh_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_vvvvwcdvxh_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_vvvvwcdvxi_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_vvvvwcdvxi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_component').closest('.control-group').hide();
|
||||
// remove required attribute from component field
|
||||
if (!jform_vvvvwccvxg_required)
|
||||
if (!jform_vvvvwcdvxg_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_vvvvwcdvxg_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwccvxh_required)
|
||||
if (!jform_vvvvwcdvxh_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_vvvvwcdvxh_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_vvvvwcdvxi_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_vvvvwcdvxi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcd function
|
||||
function vvvvwcd(target_vvvvwcd,type_vvvvwcd)
|
||||
// the vvvvwce function
|
||||
function vvvvwce(target_vvvvwce,type_vvvvwce)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwcd == 1 && type_vvvvwcd == 1)
|
||||
if (target_vvvvwce == 1 && type_vvvvwce == 1)
|
||||
{
|
||||
jQuery('#jform_hashendtarget').closest('.control-group').show();
|
||||
jQuery('#jform_to_line').closest('.control-group').show();
|
||||
@ -163,11 +163,11 @@ function vvvvwcd(target_vvvvwcd,type_vvvvwcd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwce function
|
||||
function vvvvwce(type_vvvvwce,target_vvvvwce)
|
||||
// the vvvvwcf function
|
||||
function vvvvwcf(type_vvvvwcf,target_vvvvwcf)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwce == 1 && target_vvvvwce == 1)
|
||||
if (type_vvvvwcf == 1 && target_vvvvwcf == 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
@ -10,62 +10,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_vvvvwdavxo_required = false;
|
||||
jform_vvvvwdbvxp_required = false;
|
||||
jform_vvvvwdcvxq_required = false;
|
||||
jform_vvvvwddvxr_required = false;
|
||||
jform_vvvvwdgvxs_required = false;
|
||||
jform_vvvvwdgvxt_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var datalenght_vvvvwcz = jQuery("#jform_datalenght").val();
|
||||
vvvvwcz(datalenght_vvvvwcz);
|
||||
var datalenght_vvvvwda = jQuery("#jform_datalenght").val();
|
||||
vvvvwda(datalenght_vvvvwda);
|
||||
|
||||
var datadefault_vvvvwda = jQuery("#jform_datadefault").val();
|
||||
vvvvwda(datadefault_vvvvwda);
|
||||
|
||||
var datatype_vvvvwdb = jQuery("#jform_datatype").val();
|
||||
vvvvwdb(datatype_vvvvwdb);
|
||||
var datadefault_vvvvwdb = jQuery("#jform_datadefault").val();
|
||||
vvvvwdb(datadefault_vvvvwdb);
|
||||
|
||||
var datatype_vvvvwdc = jQuery("#jform_datatype").val();
|
||||
vvvvwdc(datatype_vvvvwdc);
|
||||
|
||||
var store_vvvvwdd = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwdd = jQuery("#jform_datatype").val();
|
||||
vvvvwdd(store_vvvvwdd,datatype_vvvvwdd);
|
||||
vvvvwdd(datatype_vvvvwdd);
|
||||
|
||||
var store_vvvvwdf = jQuery("#jform_store").val();
|
||||
vvvvwdf(store_vvvvwdf);
|
||||
var store_vvvvwde = jQuery("#jform_store").val();
|
||||
var datatype_vvvvwde = jQuery("#jform_datatype").val();
|
||||
vvvvwde(store_vvvvwde,datatype_vvvvwde);
|
||||
|
||||
var add_css_view_vvvvwdg = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwdg(add_css_view_vvvvwdg);
|
||||
var store_vvvvwdg = jQuery("#jform_store").val();
|
||||
vvvvwdg(store_vvvvwdg);
|
||||
|
||||
var add_css_views_vvvvwdh = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwdh(add_css_views_vvvvwdh);
|
||||
var add_css_view_vvvvwdh = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvwdh(add_css_view_vvvvwdh);
|
||||
|
||||
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_css_views_vvvvwdi = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvwdi(add_css_views_vvvvwdi);
|
||||
|
||||
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_view_footer_vvvvwdj = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwdj(add_javascript_view_footer_vvvvwdj);
|
||||
|
||||
var add_javascript_views_footer_vvvvwdk = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwdk(add_javascript_views_footer_vvvvwdk);
|
||||
});
|
||||
|
||||
// the vvvvwcz function
|
||||
function vvvvwcz(datalenght_vvvvwcz)
|
||||
// the vvvvwda function
|
||||
function vvvvwda(datalenght_vvvvwda)
|
||||
{
|
||||
if (isSet(datalenght_vvvvwcz) && datalenght_vvvvwcz.constructor !== Array)
|
||||
if (isSet(datalenght_vvvvwda) && datalenght_vvvvwda.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwcz = datalenght_vvvvwcz;
|
||||
var datalenght_vvvvwcz = [];
|
||||
datalenght_vvvvwcz.push(temp_vvvvwcz);
|
||||
var temp_vvvvwda = datalenght_vvvvwda;
|
||||
var datalenght_vvvvwda = [];
|
||||
datalenght_vvvvwda.push(temp_vvvvwda);
|
||||
}
|
||||
else if (!isSet(datalenght_vvvvwcz))
|
||||
else if (!isSet(datalenght_vvvvwda))
|
||||
{
|
||||
var datalenght_vvvvwcz = [];
|
||||
var datalenght_vvvvwda = [];
|
||||
}
|
||||
var datalenght = datalenght_vvvvwcz.some(datalenght_vvvvwcz_SomeFunc);
|
||||
var datalenght = datalenght_vvvvwda.some(datalenght_vvvvwda_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -73,91 +73,35 @@ 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_vvvvwdavxo_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_vvvvwdavxo_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght_other').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght_other field
|
||||
if (!jform_vvvvwczvxo_required)
|
||||
if (!jform_vvvvwdavxo_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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwcz Some function
|
||||
function datalenght_vvvvwcz_SomeFunc(datalenght_vvvvwcz)
|
||||
{
|
||||
// set the function logic
|
||||
if (datalenght_vvvvwcz == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwda function
|
||||
function vvvvwda(datadefault_vvvvwda)
|
||||
{
|
||||
if (isSet(datadefault_vvvvwda) && datadefault_vvvvwda.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwda = datadefault_vvvvwda;
|
||||
var datadefault_vvvvwda = [];
|
||||
datadefault_vvvvwda.push(temp_vvvvwda);
|
||||
}
|
||||
else if (!isSet(datadefault_vvvvwda))
|
||||
{
|
||||
var datadefault_vvvvwda = [];
|
||||
}
|
||||
var datadefault = datadefault_vvvvwda.some(datadefault_vvvvwda_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datadefault)
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
// add required attribute to datadefault_other field
|
||||
if (jform_vvvvwdavxp_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;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
// remove required attribute from datadefault_other field
|
||||
if (!jform_vvvvwdavxp_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_vvvvwdavxo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwda Some function
|
||||
function datadefault_vvvvwda_SomeFunc(datadefault_vvvvwda)
|
||||
function datalenght_vvvvwda_SomeFunc(datalenght_vvvvwda)
|
||||
{
|
||||
// set the function logic
|
||||
if (datadefault_vvvvwda == 'Other')
|
||||
if (datalenght_vvvvwda == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -165,57 +109,55 @@ function datadefault_vvvvwda_SomeFunc(datadefault_vvvvwda)
|
||||
}
|
||||
|
||||
// the vvvvwdb function
|
||||
function vvvvwdb(datatype_vvvvwdb)
|
||||
function vvvvwdb(datadefault_vvvvwdb)
|
||||
{
|
||||
if (isSet(datatype_vvvvwdb) && datatype_vvvvwdb.constructor !== Array)
|
||||
if (isSet(datadefault_vvvvwdb) && datadefault_vvvvwdb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdb = datatype_vvvvwdb;
|
||||
var datatype_vvvvwdb = [];
|
||||
datatype_vvvvwdb.push(temp_vvvvwdb);
|
||||
var temp_vvvvwdb = datadefault_vvvvwdb;
|
||||
var datadefault_vvvvwdb = [];
|
||||
datadefault_vvvvwdb.push(temp_vvvvwdb);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwdb))
|
||||
else if (!isSet(datadefault_vvvvwdb))
|
||||
{
|
||||
var datatype_vvvvwdb = [];
|
||||
var datadefault_vvvvwdb = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwdb.some(datatype_vvvvwdb_SomeFunc);
|
||||
var datadefault = datadefault_vvvvwdb.some(datadefault_vvvvwdb_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datatype)
|
||||
if (datadefault)
|
||||
{
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
// add required attribute to indexes field
|
||||
if (jform_vvvvwdbvxq_required)
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').show();
|
||||
// add required attribute to datadefault_other field
|
||||
if (jform_vvvvwdbvxp_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;
|
||||
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_vvvvwdbvxp_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
// remove required attribute from indexes field
|
||||
if (!jform_vvvvwdbvxq_required)
|
||||
jQuery('#jform_datadefault_other').closest('.control-group').hide();
|
||||
// remove required attribute from datadefault_other field
|
||||
if (!jform_vvvvwdbvxp_required)
|
||||
{
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwdbvxq_required = true;
|
||||
updateFieldRequired('datadefault_other',1);
|
||||
jQuery('#jform_datadefault_other').removeAttr('required');
|
||||
jQuery('#jform_datadefault_other').removeAttr('aria-required');
|
||||
jQuery('#jform_datadefault_other').removeClass('required');
|
||||
jform_vvvvwdbvxp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdb Some function
|
||||
function datatype_vvvvwdb_SomeFunc(datatype_vvvvwdb)
|
||||
function datadefault_vvvvwdb_SomeFunc(datadefault_vvvvwdb)
|
||||
{
|
||||
// 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 (datadefault_vvvvwdb == 'Other')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -241,28 +183,30 @@ function vvvvwdc(datatype_vvvvwdc)
|
||||
// set this function logic
|
||||
if (datatype)
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
// add required attribute to datalenght field
|
||||
if (jform_vvvvwdcvxr_required)
|
||||
jQuery('#jform_datadefault').closest('.control-group').show();
|
||||
jQuery('#jform_indexes').closest('.control-group').show();
|
||||
// add required attribute to indexes field
|
||||
if (jform_vvvvwdcvxq_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;
|
||||
updateFieldRequired('indexes',0);
|
||||
jQuery('#jform_indexes').prop('required','required');
|
||||
jQuery('#jform_indexes').attr('aria-required',true);
|
||||
jQuery('#jform_indexes').addClass('required');
|
||||
jform_vvvvwdcvxq_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght field
|
||||
if (!jform_vvvvwdcvxr_required)
|
||||
jQuery('#jform_datadefault').closest('.control-group').hide();
|
||||
jQuery('#jform_indexes').closest('.control-group').hide();
|
||||
// remove required attribute from indexes field
|
||||
if (!jform_vvvvwdcvxq_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',1);
|
||||
jQuery('#jform_datalenght').removeAttr('required');
|
||||
jQuery('#jform_datalenght').removeAttr('aria-required');
|
||||
jQuery('#jform_datalenght').removeClass('required');
|
||||
jform_vvvvwdcvxr_required = true;
|
||||
updateFieldRequired('indexes',1);
|
||||
jQuery('#jform_indexes').removeAttr('required');
|
||||
jQuery('#jform_indexes').removeAttr('aria-required');
|
||||
jQuery('#jform_indexes').removeClass('required');
|
||||
jform_vvvvwdcvxq_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -271,7 +215,7 @@ function vvvvwdc(datatype_vvvvwdc)
|
||||
function datatype_vvvvwdc_SomeFunc(datatype_vvvvwdc)
|
||||
{
|
||||
// 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_vvvvwdc == 'CHAR' || datatype_vvvvwdc == 'VARCHAR' || datatype_vvvvwdc == 'DATETIME' || datatype_vvvvwdc == 'DATE' || datatype_vvvvwdc == 'TIME' || datatype_vvvvwdc == 'INT' || datatype_vvvvwdc == 'TINYINT' || datatype_vvvvwdc == 'BIGINT' || datatype_vvvvwdc == 'FLOAT' || datatype_vvvvwdc == 'DECIMAL' || datatype_vvvvwdc == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -279,20 +223,8 @@ function datatype_vvvvwdc_SomeFunc(datatype_vvvvwdc)
|
||||
}
|
||||
|
||||
// the vvvvwdd function
|
||||
function vvvvwdd(store_vvvvwdd,datatype_vvvvwdd)
|
||||
function vvvvwdd(datatype_vvvvwdd)
|
||||
{
|
||||
if (isSet(store_vvvvwdd) && store_vvvvwdd.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdd = store_vvvvwdd;
|
||||
var store_vvvvwdd = [];
|
||||
store_vvvvwdd.push(temp_vvvvwdd);
|
||||
}
|
||||
else if (!isSet(store_vvvvwdd))
|
||||
{
|
||||
var store_vvvvwdd = [];
|
||||
}
|
||||
var store = store_vvvvwdd.some(store_vvvvwdd_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwdd) && datatype_vvvvwdd.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdd = datatype_vvvvwdd;
|
||||
@ -306,6 +238,74 @@ function vvvvwdd(store_vvvvwdd,datatype_vvvvwdd)
|
||||
var datatype = datatype_vvvvwdd.some(datatype_vvvvwdd_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (datatype)
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').show();
|
||||
// add required attribute to datalenght field
|
||||
if (jform_vvvvwddvxr_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',0);
|
||||
jQuery('#jform_datalenght').prop('required','required');
|
||||
jQuery('#jform_datalenght').attr('aria-required',true);
|
||||
jQuery('#jform_datalenght').addClass('required');
|
||||
jform_vvvvwddvxr_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_datalenght').closest('.control-group').hide();
|
||||
// remove required attribute from datalenght field
|
||||
if (!jform_vvvvwddvxr_required)
|
||||
{
|
||||
updateFieldRequired('datalenght',1);
|
||||
jQuery('#jform_datalenght').removeAttr('required');
|
||||
jQuery('#jform_datalenght').removeAttr('aria-required');
|
||||
jQuery('#jform_datalenght').removeClass('required');
|
||||
jform_vvvvwddvxr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdd Some function
|
||||
function datatype_vvvvwdd_SomeFunc(datatype_vvvvwdd)
|
||||
{
|
||||
// set the function logic
|
||||
if (datatype_vvvvwdd == 'CHAR' || datatype_vvvvwdd == 'VARCHAR' || datatype_vvvvwdd == 'INT' || datatype_vvvvwdd == 'TINYINT' || datatype_vvvvwdd == 'BIGINT' || datatype_vvvvwdd == 'FLOAT' || datatype_vvvvwdd == 'DECIMAL' || datatype_vvvvwdd == 'DOUBLE')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwde function
|
||||
function vvvvwde(store_vvvvwde,datatype_vvvvwde)
|
||||
{
|
||||
if (isSet(store_vvvvwde) && store_vvvvwde.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwde = store_vvvvwde;
|
||||
var store_vvvvwde = [];
|
||||
store_vvvvwde.push(temp_vvvvwde);
|
||||
}
|
||||
else if (!isSet(store_vvvvwde))
|
||||
{
|
||||
var store_vvvvwde = [];
|
||||
}
|
||||
var store = store_vvvvwde.some(store_vvvvwde_SomeFunc);
|
||||
|
||||
if (isSet(datatype_vvvvwde) && datatype_vvvvwde.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwde = datatype_vvvvwde;
|
||||
var datatype_vvvvwde = [];
|
||||
datatype_vvvvwde.push(temp_vvvvwde);
|
||||
}
|
||||
else if (!isSet(datatype_vvvvwde))
|
||||
{
|
||||
var datatype_vvvvwde = [];
|
||||
}
|
||||
var datatype = datatype_vvvvwde.some(datatype_vvvvwde_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (store && datatype)
|
||||
{
|
||||
@ -317,42 +317,42 @@ function vvvvwdd(store_vvvvwdd,datatype_vvvvwdd)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdd Some function
|
||||
function store_vvvvwdd_SomeFunc(store_vvvvwdd)
|
||||
// the vvvvwde Some function
|
||||
function store_vvvvwde_SomeFunc(store_vvvvwde)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwdd == 4)
|
||||
if (store_vvvvwde == 4)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdd Some function
|
||||
function datatype_vvvvwdd_SomeFunc(datatype_vvvvwdd)
|
||||
// the vvvvwde Some function
|
||||
function datatype_vvvvwde_SomeFunc(datatype_vvvvwde)
|
||||
{
|
||||
// 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_vvvvwde == 'CHAR' || datatype_vvvvwde == 'VARCHAR' || datatype_vvvvwde == 'TEXT' || datatype_vvvvwde == 'MEDIUMTEXT' || datatype_vvvvwde == 'LONGTEXT' || datatype_vvvvwde == 'BLOB' || datatype_vvvvwde == 'TINYBLOB' || datatype_vvvvwde == 'MEDIUMBLOB' || datatype_vvvvwde == 'LONGBLOB')
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdf function
|
||||
function vvvvwdf(store_vvvvwdf)
|
||||
// the vvvvwdg function
|
||||
function vvvvwdg(store_vvvvwdg)
|
||||
{
|
||||
if (isSet(store_vvvvwdf) && store_vvvvwdf.constructor !== Array)
|
||||
if (isSet(store_vvvvwdg) && store_vvvvwdg.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdf = store_vvvvwdf;
|
||||
var store_vvvvwdf = [];
|
||||
store_vvvvwdf.push(temp_vvvvwdf);
|
||||
var temp_vvvvwdg = store_vvvvwdg;
|
||||
var store_vvvvwdg = [];
|
||||
store_vvvvwdg.push(temp_vvvvwdg);
|
||||
}
|
||||
else if (!isSet(store_vvvvwdf))
|
||||
else if (!isSet(store_vvvvwdg))
|
||||
{
|
||||
var store_vvvvwdf = [];
|
||||
var store_vvvvwdg = [];
|
||||
}
|
||||
var store = store_vvvvwdf.some(store_vvvvwdf_SomeFunc);
|
||||
var store = store_vvvvwdg.some(store_vvvvwdg_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -363,23 +363,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_vvvvwdgvxs_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_vvvvwdgvxs_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_vvvvwdgvxt_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_vvvvwdgvxt_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -389,43 +389,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_vvvvwdgvxs_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_vvvvwdgvxs_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_vvvvwdgvxt_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_vvvvwdgvxt_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdf Some function
|
||||
function store_vvvvwdf_SomeFunc(store_vvvvwdf)
|
||||
// the vvvvwdg Some function
|
||||
function store_vvvvwdg_SomeFunc(store_vvvvwdg)
|
||||
{
|
||||
// set the function logic
|
||||
if (store_vvvvwdf == 6)
|
||||
if (store_vvvvwdg == 6)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdg function
|
||||
function vvvvwdg(add_css_view_vvvvwdg)
|
||||
// the vvvvwdh function
|
||||
function vvvvwdh(add_css_view_vvvvwdh)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_view_vvvvwdg == 1)
|
||||
if (add_css_view_vvvvwdh == 1)
|
||||
{
|
||||
jQuery('#jform_css_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -435,11 +435,11 @@ function vvvvwdg(add_css_view_vvvvwdg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdh function
|
||||
function vvvvwdh(add_css_views_vvvvwdh)
|
||||
// the vvvvwdi function
|
||||
function vvvvwdi(add_css_views_vvvvwdi)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_views_vvvvwdh == 1)
|
||||
if (add_css_views_vvvvwdi == 1)
|
||||
{
|
||||
jQuery('#jform_css_views-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -449,11 +449,11 @@ function vvvvwdh(add_css_views_vvvvwdh)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdi function
|
||||
function vvvvwdi(add_javascript_view_footer_vvvvwdi)
|
||||
// the vvvvwdj function
|
||||
function vvvvwdj(add_javascript_view_footer_vvvvwdj)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_view_footer_vvvvwdi == 1)
|
||||
if (add_javascript_view_footer_vvvvwdj == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_view_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -463,11 +463,11 @@ function vvvvwdi(add_javascript_view_footer_vvvvwdi)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdj function
|
||||
function vvvvwdj(add_javascript_views_footer_vvvvwdj)
|
||||
// the vvvvwdk function
|
||||
function vvvvwdk(add_javascript_views_footer_vvvvwdk)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_views_footer_vvvvwdj == 1)
|
||||
if (add_javascript_views_footer_vvvvwdk == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_views_footer-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -10,23 +10,20 @@
|
||||
*/
|
||||
|
||||
// Some Global Values
|
||||
jform_vvvvweivyn_required = false;
|
||||
jform_vvvvwejvyo_required = false;
|
||||
jform_vvvvwekvyp_required = false;
|
||||
jform_vvvvwelvyq_required = false;
|
||||
jform_vvvvwenvyr_required = false;
|
||||
jform_vvvvwejvyn_required = false;
|
||||
jform_vvvvwekvyo_required = false;
|
||||
jform_vvvvwelvyp_required = false;
|
||||
jform_vvvvwemvyq_required = false;
|
||||
jform_vvvvweovyr_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var location_vvvvwei = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwei(location_vvvvwei);
|
||||
|
||||
var location_vvvvwej = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwej(location_vvvvwej);
|
||||
|
||||
var type_vvvvwek = jQuery("#jform_type").val();
|
||||
vvvvwek(type_vvvvwek);
|
||||
var location_vvvvwek = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwek(location_vvvvwek);
|
||||
|
||||
var type_vvvvwel = jQuery("#jform_type").val();
|
||||
vvvvwel(type_vvvvwel);
|
||||
@ -34,130 +31,77 @@ jQuery(document).ready(function()
|
||||
var type_vvvvwem = jQuery("#jform_type").val();
|
||||
vvvvwem(type_vvvvwem);
|
||||
|
||||
var target_vvvvwen = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwen(target_vvvvwen);
|
||||
var type_vvvvwen = jQuery("#jform_type").val();
|
||||
vvvvwen(type_vvvvwen);
|
||||
|
||||
var target_vvvvweo = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvweo(target_vvvvweo);
|
||||
});
|
||||
|
||||
// the vvvvwei function
|
||||
function vvvvwei(location_vvvvwei)
|
||||
// the vvvvwej function
|
||||
function vvvvwej(location_vvvvwej)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwei == 1)
|
||||
if (location_vvvvwej == 1)
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').show();
|
||||
// add required attribute to admin_view field
|
||||
if (jform_vvvvweivyn_required)
|
||||
if (jform_vvvvwejvyn_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_vvvvwejvyn_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_admin_view').closest('.control-group').hide();
|
||||
// remove required attribute from admin_view field
|
||||
if (!jform_vvvvweivyn_required)
|
||||
if (!jform_vvvvwejvyn_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_vvvvwejvyn_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwej function
|
||||
function vvvvwej(location_vvvvwej)
|
||||
// the vvvvwek function
|
||||
function vvvvwek(location_vvvvwek)
|
||||
{
|
||||
// set the function logic
|
||||
if (location_vvvvwej == 2)
|
||||
if (location_vvvvwek == 2)
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').show();
|
||||
// add required attribute to site_view field
|
||||
if (jform_vvvvwejvyo_required)
|
||||
if (jform_vvvvwekvyo_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_vvvvwekvyo_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_site_view').closest('.control-group').hide();
|
||||
// remove required attribute from site_view field
|
||||
if (!jform_vvvvwejvyo_required)
|
||||
if (!jform_vvvvwekvyo_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_vvvvwekvyo_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwek function
|
||||
function vvvvwek(type_vvvvwek)
|
||||
{
|
||||
if (isSet(type_vvvvwek) && type_vvvvwek.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwek = type_vvvvwek;
|
||||
var type_vvvvwek = [];
|
||||
type_vvvvwek.push(temp_vvvvwek);
|
||||
}
|
||||
else if (!isSet(type_vvvvwek))
|
||||
{
|
||||
var type_vvvvwek = [];
|
||||
}
|
||||
var type = type_vvvvwek.some(type_vvvvwek_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
// add required attribute to url field
|
||||
if (jform_vvvvwekvyp_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;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
// remove required attribute from url field
|
||||
if (!jform_vvvvwekvyp_required)
|
||||
{
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_vvvvwekvyp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwek Some function
|
||||
function type_vvvvwek_SomeFunc(type_vvvvwek)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwek == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwel function
|
||||
function vvvvwel(type_vvvvwel)
|
||||
{
|
||||
@ -177,28 +121,28 @@ function vvvvwel(type_vvvvwel)
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
// add required attribute to article field
|
||||
if (jform_vvvvwelvyq_required)
|
||||
jQuery('#jform_url').closest('.control-group').show();
|
||||
// add required attribute to url field
|
||||
if (jform_vvvvwelvyp_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;
|
||||
updateFieldRequired('url',0);
|
||||
jQuery('#jform_url').prop('required','required');
|
||||
jQuery('#jform_url').attr('aria-required',true);
|
||||
jQuery('#jform_url').addClass('required');
|
||||
jform_vvvvwelvyp_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
// remove required attribute from article field
|
||||
if (!jform_vvvvwelvyq_required)
|
||||
jQuery('#jform_url').closest('.control-group').hide();
|
||||
// remove required attribute from url field
|
||||
if (!jform_vvvvwelvyp_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_vvvvwelvyq_required = true;
|
||||
updateFieldRequired('url',1);
|
||||
jQuery('#jform_url').removeAttr('required');
|
||||
jQuery('#jform_url').removeAttr('aria-required');
|
||||
jQuery('#jform_url').removeClass('required');
|
||||
jform_vvvvwelvyp_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -207,7 +151,7 @@ function vvvvwel(type_vvvvwel)
|
||||
function type_vvvvwel_SomeFunc(type_vvvvwel)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwel == 1)
|
||||
if (type_vvvvwel == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -230,6 +174,62 @@ function vvvvwem(type_vvvvwem)
|
||||
var type = type_vvvvwem.some(type_vvvvwem_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').show();
|
||||
// add required attribute to article field
|
||||
if (jform_vvvvwemvyq_required)
|
||||
{
|
||||
updateFieldRequired('article',0);
|
||||
jQuery('#jform_article').prop('required','required');
|
||||
jQuery('#jform_article').attr('aria-required',true);
|
||||
jQuery('#jform_article').addClass('required');
|
||||
jform_vvvvwemvyq_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_article').closest('.control-group').hide();
|
||||
// remove required attribute from article field
|
||||
if (!jform_vvvvwemvyq_required)
|
||||
{
|
||||
updateFieldRequired('article',1);
|
||||
jQuery('#jform_article').removeAttr('required');
|
||||
jQuery('#jform_article').removeAttr('aria-required');
|
||||
jQuery('#jform_article').removeClass('required');
|
||||
jform_vvvvwemvyq_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwem Some function
|
||||
function type_vvvvwem_SomeFunc(type_vvvvwem)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwem == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwen function
|
||||
function vvvvwen(type_vvvvwen)
|
||||
{
|
||||
if (isSet(type_vvvvwen) && type_vvvvwen.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwen = type_vvvvwen;
|
||||
var type_vvvvwen = [];
|
||||
type_vvvvwen.push(temp_vvvvwen);
|
||||
}
|
||||
else if (!isSet(type_vvvvwen))
|
||||
{
|
||||
var type_vvvvwen = [];
|
||||
}
|
||||
var type = type_vvvvwen.some(type_vvvvwen_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (type)
|
||||
{
|
||||
@ -241,45 +241,45 @@ function vvvvwem(type_vvvvwem)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwem Some function
|
||||
function type_vvvvwem_SomeFunc(type_vvvvwem)
|
||||
// the vvvvwen Some function
|
||||
function type_vvvvwen_SomeFunc(type_vvvvwen)
|
||||
{
|
||||
// set the function logic
|
||||
if (type_vvvvwem == 2)
|
||||
if (type_vvvvwen == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwen function
|
||||
function vvvvwen(target_vvvvwen)
|
||||
// the vvvvweo function
|
||||
function vvvvweo(target_vvvvweo)
|
||||
{
|
||||
// set the function logic
|
||||
if (target_vvvvwen == 1)
|
||||
if (target_vvvvweo == 1)
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').show();
|
||||
// add required attribute to groups field
|
||||
if (jform_vvvvwenvyr_required)
|
||||
if (jform_vvvvweovyr_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_vvvvweovyr_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_groups').closest('.control-group').hide();
|
||||
// remove required attribute from groups field
|
||||
if (!jform_vvvvwenvyr_required)
|
||||
if (!jform_vvvvweovyr_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_vvvvweovyr_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -12,15 +12,15 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(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_vvvvwba = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwba(add_php_view_vvvvwba);
|
||||
});
|
||||
|
||||
// the vvvvwaz function
|
||||
function vvvvwaz(add_php_view_vvvvwaz)
|
||||
// the vvvvwba function
|
||||
function vvvvwba(add_php_view_vvvvwba)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvwaz == 1)
|
||||
if (add_php_view_vvvvwba == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
506
media/js/power.js
Normal file
506
media/js/power.js
Normal file
@ -0,0 +1,506 @@
|
||||
/**
|
||||
* @package Joomla.Component.Builder
|
||||
*
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @gitea Joomla Component Builder <https://git.vdm.dev/joomla/Component-Builder>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var add_head_vvvvvyv = jQuery("#jform_add_head input[type='radio']:checked").val();
|
||||
vvvvvyv(add_head_vvvvvyv);
|
||||
});
|
||||
|
||||
// the vvvvvyv function
|
||||
function vvvvvyv(add_head_vvvvvyv)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_head_vvvvvyv == 1)
|
||||
{
|
||||
jQuery('#jform_head-lbl').closest('.control-group').show();
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_head-lbl').closest('.control-group').hide();
|
||||
}
|
||||
}
|
||||
|
||||
// the isSet function
|
||||
function isSet(val)
|
||||
{
|
||||
if ((val != undefined) && (val != null) && 0 !== val.length){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
// get the linked details
|
||||
getLinked();
|
||||
// load the active array values
|
||||
buildSelectionMemory('property');
|
||||
buildSelectionMemory('method');
|
||||
// load the active selection array values
|
||||
getClassCodeIds('property', 'jform_id', false);
|
||||
getClassCodeIds('method', 'jform_id', false);
|
||||
// check and load all the customcode edit buttons
|
||||
setTimeout(getEditCustomCodeButtons, 300);
|
||||
// trigger the row watcher
|
||||
rowWatcher();
|
||||
});
|
||||
|
||||
function getCodeFrom_server(id, type, type_name, callingName){
|
||||
var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax." + callingName + "&format=json&raw=true&vdm="+vastDevMod);
|
||||
if(token.length > 0 && id > 0 && type.length > 0) {
|
||||
var request = token + '=1&' + type_name + '=' + type + '&id=' + id;
|
||||
}
|
||||
return jQuery.ajax({
|
||||
type: 'GET',
|
||||
url: getUrl,
|
||||
dataType: 'json',
|
||||
data: request,
|
||||
jsonp: false
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// set selection the options
|
||||
selectionMemory = {'property':{},'method':{}};
|
||||
selectionActiveArray = {'property':{},'method':{}};
|
||||
selectedIdRemoved = {'property':'not','method':'not'};
|
||||
|
||||
function buildSelectionMemory(type) {
|
||||
var i;
|
||||
for (i = 0; i < 70; i++) {
|
||||
// build ID
|
||||
var id_check = 'jform_'+type+'_selection'+'__'+type+'_selection'+i+'__'+type;
|
||||
// set memory
|
||||
if (jQuery("#"+id_check).length) {
|
||||
selectionMemory[type][id_check] = jQuery("#"+id_check+" option:selected").val();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getClassHeaderCode(){
|
||||
// now get the values
|
||||
var value = jQuery("#jform_class_extends option:selected").val();
|
||||
var add_value = jQuery("#jform_add_head input[type='radio']:checked").val();
|
||||
if (add_value == 1 && value > 0){
|
||||
// we first check local memory
|
||||
var _result = jQuery.jStorage.get('extends_header_'+value, null);
|
||||
if (_result) {
|
||||
// now set the code
|
||||
addCodeToEditor(_result, "jform_head", false, null);
|
||||
} else {
|
||||
// now get the code
|
||||
getCodeFrom_server(value, 'extends', 'type', 'getClassHeaderCode').done(function(result) {
|
||||
if(result){
|
||||
// now set the code
|
||||
addCodeToEditor(result, "jform_head", false, null);
|
||||
// add result to local memory
|
||||
jQuery.jStorage.set('extends_header_'+value, result, {TTL: expire});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getClassCodeIds(type, target_field, reset_all){
|
||||
// now get the value
|
||||
var value = jQuery('#'+target_field).val();
|
||||
// now get the code
|
||||
getCodeFrom_server(value, type, 'type', 'getClassCodeIds').done(function(result) {
|
||||
if(result){
|
||||
// reset the selection
|
||||
selectionActiveArray[type] = {};
|
||||
// update the active array
|
||||
jQuery.each(result, function(i, prop) {
|
||||
selectionActiveArray[type][prop] = selectionArray[type][prop];
|
||||
});
|
||||
// update the active field selection
|
||||
updateActiveFieldSelection(type, reset_all);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function updateActiveFieldSelection(type, reset_all){
|
||||
// update the selection options
|
||||
if ('joomla_plugin_group' === type) {
|
||||
// get value if not going to reset all
|
||||
if (!reset_all){
|
||||
// get the active values
|
||||
var activeValue = jQuery("#jform_"+type+" option:selected").val();
|
||||
var activeText = jQuery("#jform_"+type+" option:selected").text();
|
||||
// clear the options out
|
||||
jQuery("#jform_"+type).find('option').remove().end();
|
||||
// add the active selection back (must be what is available)
|
||||
jQuery("#jform_"+type).append('<option value="'+activeValue+'">'+activeText+'</option>');
|
||||
// now add the lists back
|
||||
jQuery.each( selectionActiveArray[type], function(aValue, aText ) {
|
||||
if (activeValue !== aValue) {
|
||||
jQuery("#jform_"+type).append('<option value="'+aValue+'">'+aText+'</option>');
|
||||
}
|
||||
});
|
||||
jQuery("#jform_"+type).val(activeValue);
|
||||
} else {
|
||||
// clear the options out
|
||||
jQuery("#jform_"+type).find('option').remove().end();
|
||||
// now add the lists back
|
||||
jQuery.each( selectionActiveArray[type], function(aValue, aText ) {
|
||||
jQuery("#jform_"+type).append('<option value="'+aValue+'">'+aText+'</option>');
|
||||
});
|
||||
jQuery("#jform_"+type).val('');
|
||||
}
|
||||
jQuery("#jform_"+type).trigger('liszt:updated');
|
||||
// reset all when global update is made
|
||||
if (reset_all) {
|
||||
resetAll('method');
|
||||
resetAll('property');
|
||||
}
|
||||
} else {
|
||||
selectionDynamicUpdate(type);
|
||||
// reset all when global update is made
|
||||
if (reset_all) {
|
||||
resetAll(type);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function resetAll(type) {
|
||||
var i;
|
||||
for (i = 0; i < 10; i++) {
|
||||
// build ID
|
||||
var id_check = 'jform_'+type+'_selection'+'__'+type+'_selection'+i+'__'+type;
|
||||
// first check if Id is on page as that not the same as the one currently calling
|
||||
if (jQuery("#"+id_check).length) {
|
||||
if (i == 0) {
|
||||
jQuery('#'+id_check).val('');
|
||||
jQuery('#'+id_check).trigger('liszt:updated');
|
||||
} else {
|
||||
// remove the row
|
||||
jQuery('#'+id_check).closest('tr').remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
Joomla.editors.instances['jform_main_class_code'].setValue('');
|
||||
selectionMemory = {'property':{},'method':{}};
|
||||
}
|
||||
|
||||
function getClassCode(field, type){
|
||||
// get the ID
|
||||
var id = jQuery(field).attr('id');
|
||||
// now get the value
|
||||
var value = jQuery('#' + id).val();
|
||||
// check if we have a memory for this field, if true remove code of old selection and clear memory
|
||||
if (selectionMemory[type].hasOwnProperty(id) && selectionMemory[type][id] > 0) {
|
||||
// the old id to remove
|
||||
var old_value = selectionMemory[type][id];
|
||||
// remove the code // we first check local memory
|
||||
var _result = jQuery.jStorage.get('code_4_'+type+'_'+old_value, null);
|
||||
if (_result) {
|
||||
// now remove the code
|
||||
if (removeCodeFromEditor(_result, 'jform_main_class_code')) {
|
||||
selectionMemory[type][id] = 0;
|
||||
}
|
||||
} else {
|
||||
// now get the code
|
||||
getCodeFrom_server(old_value, type, 'type', 'getClassCode').done(function(result) {
|
||||
if(result){
|
||||
// now remove the code
|
||||
if (removeCodeFromEditor(result, 'jform_main_class_code')) {
|
||||
selectionMemory[type][id] = 0;
|
||||
}
|
||||
// add result to local memory
|
||||
jQuery.jStorage.set('code_4_'+type+'_'+old_value, result, {TTL: expire});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
if (propertyIsSet(value, id, type)) {
|
||||
// reset the selection
|
||||
jQuery('#'+id).val('');
|
||||
jQuery('#'+id).trigger("liszt:updated");
|
||||
// give out a notice
|
||||
jQuery.UIkit.notify({message: Joomla.JText._('COM_COMPONENTBUILDER_ALREADY_SELECTED_TRY_ANOTHER'), timeout: 5000, status: 'warning', pos: 'top-center'});
|
||||
} else {
|
||||
// set the active removed value
|
||||
selectedIdRemoved[type] = id;
|
||||
// do a dynamic update (to remove what was already used)
|
||||
selectionDynamicUpdate(type);
|
||||
// set the add action
|
||||
if (type === 'property') {
|
||||
var _action_add = 'prepend';
|
||||
} else {
|
||||
var _action_add = 'append';
|
||||
}
|
||||
// we first check local memory
|
||||
var _result = jQuery.jStorage.get('code_4_'+type+'_'+value, null);
|
||||
if (_result) {
|
||||
// now set the code
|
||||
if (addCodeToEditor(_result, "jform_main_class_code", true, _action_add)) {
|
||||
selectionMemory[type][id] = value;
|
||||
}
|
||||
} else {
|
||||
// now get the code
|
||||
getCodeFrom_server(value, type, 'type', 'getClassCode').done(function(result) {
|
||||
if(result){
|
||||
// now set the code
|
||||
if (addCodeToEditor(result, "jform_main_class_code", true, _action_add)) {
|
||||
selectionMemory[type][id] = value;
|
||||
}
|
||||
// add result to local memory
|
||||
jQuery.jStorage.set('code_4_'+type+'_'+value, result, {TTL: expire});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function selectionDynamicUpdate(type) {
|
||||
selectionAvailable = {};
|
||||
selectionSelectedArray = {};
|
||||
selectionTrackerArray = {};
|
||||
var i;
|
||||
for (i = 0; i < 70; i++) { // for now this is the number of field we should check
|
||||
// build ID
|
||||
var id_check = 'jform_'+type+'_selection'+'__'+type+'_selection'+i+'__'+type;
|
||||
// first check if Id is on page as that not the same as the one currently calling
|
||||
if (jQuery("#"+id_check).length && selectedIdRemoved[type] !== id_check) {
|
||||
// build the selected array
|
||||
var key = jQuery("#"+id_check+" option:selected").val();
|
||||
var text = jQuery("#"+id_check+" option:selected").text();
|
||||
selectionSelectedArray[key] = text;
|
||||
// keep track of the value set
|
||||
selectionTrackerArray[id_check] = key;
|
||||
// clear the options out
|
||||
jQuery("#"+id_check).find('option').remove().end();
|
||||
}
|
||||
}
|
||||
// now build the list to keep
|
||||
jQuery.each( selectionActiveArray[type], function( prop, name ) {
|
||||
if (!selectionSelectedArray.hasOwnProperty(prop)) {
|
||||
selectionAvailable[prop] = name;
|
||||
}
|
||||
});
|
||||
// now add the lists back
|
||||
jQuery.each( selectionTrackerArray, function( tId, tKey ) {
|
||||
if (jQuery('#'+tId).length) {
|
||||
jQuery('#'+tId).append('<option value="'+tKey+'">'+selectionSelectedArray[tKey]+'</option>');
|
||||
jQuery.each( selectionAvailable, function( aKey, aValue ) {
|
||||
jQuery('#'+tId).append('<option value="'+aKey+'">'+aValue+'</option>');
|
||||
});
|
||||
jQuery('#'+tId).val(tKey);
|
||||
jQuery('#'+tId).trigger('liszt:updated');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function rowWatcher() {
|
||||
jQuery(document).on('subform-row-remove', function(event, row){
|
||||
// we first chck if this is a method call
|
||||
var valid_call = jQuery(row.innerHTML).find('.method_selection_list').attr('id');
|
||||
var type_call = 'method';
|
||||
if (!isSet(valid_call)){
|
||||
// now lets see if this is a property call
|
||||
var valid_call = jQuery(row.innerHTML).find('.property_selection_list').attr('id');
|
||||
var type_call = 'property';
|
||||
}
|
||||
// so lets update selection if call valid
|
||||
if (isSet(valid_call)){
|
||||
selectedIdRemoved[type_call] = valid_call;
|
||||
selectionDynamicUpdate(type_call);
|
||||
// also remove from code
|
||||
var valid_value = jQuery(row.innerHTML).find('#' + valid_call + ' option:selected').val();
|
||||
if (valid_value === '') {
|
||||
valid_value = selectionMemory[type_call][valid_call];
|
||||
}
|
||||
// remove the code // we first check local memory
|
||||
var _result = jQuery.jStorage.get('code_4_'+type_call+'_'+valid_value, null);
|
||||
if (_result) {
|
||||
// now remove the code
|
||||
if (removeCodeFromEditor(_result, 'jform_main_class_code')) {
|
||||
selectionMemory[type_call][valid_call] = 0;
|
||||
}
|
||||
} else {
|
||||
// now get the code
|
||||
getCodeFrom_server(valid_value, type_call, 'type', 'getClassCode').done(function(result) {
|
||||
if(result){
|
||||
if (removeCodeFromEditor(result, 'jform_main_class_code')) {
|
||||
selectionMemory[type_call][valid_call] = 0;;
|
||||
}
|
||||
// add result to local memory
|
||||
jQuery.jStorage.set('code_4_'+type_call+'_'+valid_value, result, {TTL: expire});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
jQuery(document).on('subform-row-add', function(event, row){
|
||||
// we first chck if this is a method call
|
||||
var valid_call = jQuery(row.innerHTML).find('.method_selection_list').attr('id');
|
||||
var type_call = 'method';
|
||||
if (!isSet(valid_call)){
|
||||
// now lets see if this is a property call
|
||||
var valid_call = jQuery(row.innerHTML).find('.property_selection_list').attr('id');
|
||||
var type_call = 'property';
|
||||
}
|
||||
// so lets update selection if call valid
|
||||
if (isSet(valid_call)){
|
||||
selectedIdRemoved[type_call] = 'not';
|
||||
selectionDynamicUpdate(type_call);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function propertyIsSet(prop, id, type) {
|
||||
var i;
|
||||
for (i = 0; i < 70; i++) { // for now this is the number of field we should check
|
||||
// build ID
|
||||
var id_check = 'jform_'+type+'_selection'+'__'+type+'_selection'+i+'__'+type;
|
||||
// first check if Id is on page as that not the same as the one currently calling
|
||||
if (jQuery("#"+id_check).length && id_check != id) {
|
||||
// get the property value
|
||||
var tmp = jQuery("#"+id_check+" option:selected").val();
|
||||
// now validate
|
||||
if (tmp === prop) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function addCodeToEditor(code_string, editor_id, merge, merge_target){
|
||||
if (Joomla.editors.instances.hasOwnProperty(editor_id)) {
|
||||
var old_code_string = Joomla.editors.instances[editor_id].getValue();
|
||||
if (merge && old_code_string.length > 0) {
|
||||
// make sure not to load the same string twice
|
||||
if (old_code_string.indexOf(code_string) == -1) {
|
||||
if ('prepend' === merge_target) {
|
||||
var _string = code_string + "\n\n" + old_code_string;
|
||||
} else if (merge_target && 'append' !== merge_target) {
|
||||
var old_code_array = old_code_string.split(merge_target);
|
||||
if (old_code_array.length > 1) {
|
||||
var _string = old_code_array.shift() + "\n\n" + code_string + "\n\n" + merge_target + old_code_array.join(merge_target);
|
||||
} else {
|
||||
var _string = code_string + "\n\n" + merge_target + old_code_array.join('');
|
||||
}
|
||||
} else {
|
||||
var _string = old_code_string + "\n\n" + code_string;
|
||||
}
|
||||
Joomla.editors.instances[editor_id].setValue(_string.trim());
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
Joomla.editors.instances[editor_id].setValue(code_string.trim());
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
var old_code_string = jQuery('textarea#'+editor_id).val();
|
||||
if (merge && old_code_string.length > 0) {
|
||||
// make sure not to load the same string twice
|
||||
if (old_code_string.indexOf(code_string) == -1) {
|
||||
if ('prepend' === merge_target) {
|
||||
var _string = code_string + "\n\n" + old_code_string;
|
||||
} else if (merge_target && 'append' !== merge_target) {
|
||||
var old_code_array = old_code_string.split(merge_target);
|
||||
if (old_code_array.length > 1) {
|
||||
var _string = old_code_array.shift() + "\n\n" + code_string + "\n\n" + merge_target + old_code_array.join(merge_target);
|
||||
} else {
|
||||
var _string = code_string + "\n\n" + merge_target + old_code_array.join('');
|
||||
}
|
||||
} else {
|
||||
var _string = old_code_string + "\n\n" + code_string;
|
||||
}
|
||||
jQuery('textarea#'+editor_id).val(_string.trim());
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
jQuery('textarea#'+editor_id).val(code_string.trim());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function removeCodeFromEditor(code_string, editor_id){
|
||||
if (Joomla.editors.instances.hasOwnProperty(editor_id)) {
|
||||
var old_code_string = Joomla.editors.instances[editor_id].getValue();
|
||||
if (old_code_string.length > 0) {
|
||||
// make sure string is found
|
||||
if (old_code_string.indexOf(code_string) !== -1) {
|
||||
// remove the code
|
||||
Joomla.editors.instances[editor_id].setValue(old_code_string.replace(code_string+"\n\n",'').replace("\n\n"+code_string,'').replace(code_string,''));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
var old_code_string = jQuery('textarea#'+editor_id).val();
|
||||
if (old_code_string.length > 0) {
|
||||
// make sure string is found
|
||||
if (old_code_string.indexOf(code_string) !== -1) {
|
||||
// remove the code
|
||||
jQuery('textarea#'+editor_id).val(old_code_string.replace(code_string+"\n\n",'').replace("\n\n"+code_string,'').replace(code_string,''));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function getLinked(){
|
||||
getCodeFrom_server(1, 'type', 'type', 'getLinked').done(function(result) {
|
||||
if(result){
|
||||
jQuery('#display_linked_to').html(result);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function getEditCustomCodeButtons_server(id){
|
||||
var getUrl = JRouter("index.php?option=com_componentbuilder&task=ajax.getEditCustomCodeButtons&format=json&raw=true&vdm="+vastDevMod);
|
||||
if(token.length > 0 && id > 0){
|
||||
var request = token+'=1&id='+id+'&return_here='+return_here;
|
||||
}
|
||||
return jQuery.ajax({
|
||||
type: 'GET',
|
||||
url: getUrl,
|
||||
dataType: 'json',
|
||||
data: request,
|
||||
jsonp: false
|
||||
});
|
||||
}
|
||||
|
||||
function getEditCustomCodeButtons(){
|
||||
// get the id
|
||||
id = jQuery("#jform_id").val();
|
||||
getEditCustomCodeButtons_server(id).done(function(result) {
|
||||
if(isObject(result)){
|
||||
jQuery.each(result, function( field, buttons ) {
|
||||
jQuery('<div class="control-group"><div class="control-label"><label>Add/Edit Customcode</label></div><div class="controls control-customcode-buttons-'+field+'"></div></div>').insertBefore(".control-wrapper-"+ field);
|
||||
jQuery.each(buttons, function( name, button ) {
|
||||
jQuery(".control-customcode-buttons-"+field).append(button);
|
||||
});
|
||||
});
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// check object is not empty
|
||||
function isObject(obj) {
|
||||
for(var prop in obj) {
|
||||
if (Object.prototype.hasOwnProperty.call(obj, prop)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
@ -10,180 +10,42 @@
|
||||
*/
|
||||
|
||||
// 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_vvvvwdzvyd_required = false;
|
||||
jform_vvvvwdzvye_required = false;
|
||||
jform_vvvvwdzvyf_required = false;
|
||||
jform_vvvvwdzvyg_required = false;
|
||||
jform_vvvvwdzvyh_required = false;
|
||||
jform_vvvvweavyi_required = false;
|
||||
jform_vvvvwebvyj_required = false;
|
||||
jform_vvvvwedvyk_required = false;
|
||||
jform_vvvvwefvyl_required = false;
|
||||
|
||||
// Initial Script
|
||||
jQuery(document).ready(function()
|
||||
{
|
||||
var protocol_vvvvwdy = jQuery("#jform_protocol").val();
|
||||
vvvvwdy(protocol_vvvvwdy);
|
||||
|
||||
var protocol_vvvvwdz = jQuery("#jform_protocol").val();
|
||||
vvvvwdz(protocol_vvvvwdz);
|
||||
|
||||
var protocol_vvvvwea = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwea = jQuery("#jform_authentication").val();
|
||||
vvvvwea(protocol_vvvvwea,authentication_vvvvwea);
|
||||
vvvvwea(protocol_vvvvwea);
|
||||
|
||||
var protocol_vvvvwec = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwec = jQuery("#jform_authentication").val();
|
||||
vvvvwec(protocol_vvvvwec,authentication_vvvvwec);
|
||||
var protocol_vvvvweb = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvweb = jQuery("#jform_authentication").val();
|
||||
vvvvweb(protocol_vvvvweb,authentication_vvvvweb);
|
||||
|
||||
var protocol_vvvvwee = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwee = jQuery("#jform_authentication").val();
|
||||
vvvvwee(protocol_vvvvwee,authentication_vvvvwee);
|
||||
var protocol_vvvvwed = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwed = jQuery("#jform_authentication").val();
|
||||
vvvvwed(protocol_vvvvwed,authentication_vvvvwed);
|
||||
|
||||
var protocol_vvvvweg = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvweg = jQuery("#jform_authentication").val();
|
||||
vvvvweg(protocol_vvvvweg,authentication_vvvvweg);
|
||||
var protocol_vvvvwef = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvwef = jQuery("#jform_authentication").val();
|
||||
vvvvwef(protocol_vvvvwef,authentication_vvvvwef);
|
||||
|
||||
var protocol_vvvvweh = jQuery("#jform_protocol").val();
|
||||
var authentication_vvvvweh = jQuery("#jform_authentication").val();
|
||||
vvvvweh(protocol_vvvvweh,authentication_vvvvweh);
|
||||
});
|
||||
|
||||
// the vvvvwdy function
|
||||
function vvvvwdy(protocol_vvvvwdy)
|
||||
{
|
||||
if (isSet(protocol_vvvvwdy) && protocol_vvvvwdy.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwdy = protocol_vvvvwdy;
|
||||
var protocol_vvvvwdy = [];
|
||||
protocol_vvvvwdy.push(temp_vvvvwdy);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwdy))
|
||||
{
|
||||
var protocol_vvvvwdy = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwdy.some(protocol_vvvvwdy_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol)
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
// add required attribute to authentication field
|
||||
if (jform_vvvvwdyvyd_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;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
// add required attribute to host field
|
||||
if (jform_vvvvwdyvye_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;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
// add required attribute to port field
|
||||
if (jform_vvvvwdyvyf_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;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwdyvyg_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;
|
||||
}
|
||||
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)
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
// remove required attribute from authentication field
|
||||
if (!jform_vvvvwdyvyd_required)
|
||||
{
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwdyvyd_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
// remove required attribute from host field
|
||||
if (!jform_vvvvwdyvye_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwdyvye_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
// remove required attribute from port field
|
||||
if (!jform_vvvvwdyvyf_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwdyvyf_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwdyvyg_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwdyvyg_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)
|
||||
{
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwdyvyh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwdy Some function
|
||||
function protocol_vvvvwdy_SomeFunc(protocol_vvvvwdy)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwdy == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwdz function
|
||||
function vvvvwdz(protocol_vvvvwdz)
|
||||
{
|
||||
@ -203,30 +65,110 @@ function vvvvwdz(protocol_vvvvwdz)
|
||||
// set this function logic
|
||||
if (protocol)
|
||||
{
|
||||
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)
|
||||
jQuery('#jform_authentication').closest('.control-group').show();
|
||||
// add required attribute to authentication field
|
||||
if (jform_vvvvwdzvyd_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;
|
||||
updateFieldRequired('authentication',0);
|
||||
jQuery('#jform_authentication').prop('required','required');
|
||||
jQuery('#jform_authentication').attr('aria-required',true);
|
||||
jQuery('#jform_authentication').addClass('required');
|
||||
jform_vvvvwdzvyd_required = false;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').show();
|
||||
// add required attribute to host field
|
||||
if (jform_vvvvwdzvye_required)
|
||||
{
|
||||
updateFieldRequired('host',0);
|
||||
jQuery('#jform_host').prop('required','required');
|
||||
jQuery('#jform_host').attr('aria-required',true);
|
||||
jQuery('#jform_host').addClass('required');
|
||||
jform_vvvvwdzvye_required = false;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').show();
|
||||
// add required attribute to port field
|
||||
if (jform_vvvvwdzvyf_required)
|
||||
{
|
||||
updateFieldRequired('port',0);
|
||||
jQuery('#jform_port').prop('required','required');
|
||||
jQuery('#jform_port').attr('aria-required',true);
|
||||
jQuery('#jform_port').addClass('required');
|
||||
jform_vvvvwdzvyf_required = false;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').show();
|
||||
// add required attribute to path field
|
||||
if (jform_vvvvwdzvyg_required)
|
||||
{
|
||||
updateFieldRequired('path',0);
|
||||
jQuery('#jform_path').prop('required','required');
|
||||
jQuery('#jform_path').attr('aria-required',true);
|
||||
jQuery('#jform_path').addClass('required');
|
||||
jform_vvvvwdzvyg_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_vvvvwdzvyh_required)
|
||||
{
|
||||
updateFieldRequired('username',0);
|
||||
jQuery('#jform_username').prop('required','required');
|
||||
jQuery('#jform_username').attr('aria-required',true);
|
||||
jQuery('#jform_username').addClass('required');
|
||||
jform_vvvvwdzvyh_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
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)
|
||||
jQuery('#jform_authentication').closest('.control-group').hide();
|
||||
// remove required attribute from authentication field
|
||||
if (!jform_vvvvwdzvyd_required)
|
||||
{
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
jform_vvvvwdzvyi_required = true;
|
||||
updateFieldRequired('authentication',1);
|
||||
jQuery('#jform_authentication').removeAttr('required');
|
||||
jQuery('#jform_authentication').removeAttr('aria-required');
|
||||
jQuery('#jform_authentication').removeClass('required');
|
||||
jform_vvvvwdzvyd_required = true;
|
||||
}
|
||||
jQuery('#jform_host').closest('.control-group').hide();
|
||||
// remove required attribute from host field
|
||||
if (!jform_vvvvwdzvye_required)
|
||||
{
|
||||
updateFieldRequired('host',1);
|
||||
jQuery('#jform_host').removeAttr('required');
|
||||
jQuery('#jform_host').removeAttr('aria-required');
|
||||
jQuery('#jform_host').removeClass('required');
|
||||
jform_vvvvwdzvye_required = true;
|
||||
}
|
||||
jQuery('#jform_port').closest('.control-group').hide();
|
||||
// remove required attribute from port field
|
||||
if (!jform_vvvvwdzvyf_required)
|
||||
{
|
||||
updateFieldRequired('port',1);
|
||||
jQuery('#jform_port').removeAttr('required');
|
||||
jQuery('#jform_port').removeAttr('aria-required');
|
||||
jQuery('#jform_port').removeClass('required');
|
||||
jform_vvvvwdzvyf_required = true;
|
||||
}
|
||||
jQuery('#jform_path').closest('.control-group').hide();
|
||||
// remove required attribute from path field
|
||||
if (!jform_vvvvwdzvyg_required)
|
||||
{
|
||||
updateFieldRequired('path',1);
|
||||
jQuery('#jform_path').removeAttr('required');
|
||||
jQuery('#jform_path').removeAttr('aria-required');
|
||||
jQuery('#jform_path').removeClass('required');
|
||||
jform_vvvvwdzvyg_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_vvvvwdzvyh_required)
|
||||
{
|
||||
updateFieldRequired('username',1);
|
||||
jQuery('#jform_username').removeAttr('required');
|
||||
jQuery('#jform_username').removeAttr('aria-required');
|
||||
jQuery('#jform_username').removeClass('required');
|
||||
jform_vvvvwdzvyh_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -235,7 +177,7 @@ function vvvvwdz(protocol_vvvvwdz)
|
||||
function protocol_vvvvwdz_SomeFunc(protocol_vvvvwdz)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwdz == 1)
|
||||
if (protocol_vvvvwdz == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -243,7 +185,7 @@ function protocol_vvvvwdz_SomeFunc(protocol_vvvvwdz)
|
||||
}
|
||||
|
||||
// the vvvvwea function
|
||||
function vvvvwea(protocol_vvvvwea,authentication_vvvvwea)
|
||||
function vvvvwea(protocol_vvvvwea)
|
||||
{
|
||||
if (isSet(protocol_vvvvwea) && protocol_vvvvwea.constructor !== Array)
|
||||
{
|
||||
@ -257,44 +199,34 @@ function vvvvwea(protocol_vvvvwea,authentication_vvvvwea)
|
||||
}
|
||||
var protocol = protocol_vvvvwea.some(protocol_vvvvwea_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwea) && authentication_vvvvwea.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwea = authentication_vvvvwea;
|
||||
var authentication_vvvvwea = [];
|
||||
authentication_vvvvwea.push(temp_vvvvwea);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwea))
|
||||
{
|
||||
var authentication_vvvvwea = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwea.some(authentication_vvvvwea_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
if (protocol)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
// add required attribute to password field
|
||||
if (jform_vvvvweavyj_required)
|
||||
jQuery('.note_ftp_signature').closest('.control-group').show();
|
||||
jQuery('#jform_signature').closest('.control-group').show();
|
||||
// add required attribute to signature field
|
||||
if (jform_vvvvweavyi_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;
|
||||
updateFieldRequired('signature',0);
|
||||
jQuery('#jform_signature').prop('required','required');
|
||||
jQuery('#jform_signature').attr('aria-required',true);
|
||||
jQuery('#jform_signature').addClass('required');
|
||||
jform_vvvvweavyi_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
// remove required attribute from password field
|
||||
if (!jform_vvvvweavyj_required)
|
||||
jQuery('.note_ftp_signature').closest('.control-group').hide();
|
||||
jQuery('#jform_signature').closest('.control-group').hide();
|
||||
// remove required attribute from signature field
|
||||
if (!jform_vvvvweavyi_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
jform_vvvvweavyj_required = true;
|
||||
updateFieldRequired('signature',1);
|
||||
jQuery('#jform_signature').removeAttr('required');
|
||||
jQuery('#jform_signature').removeAttr('aria-required');
|
||||
jQuery('#jform_signature').removeClass('required');
|
||||
jform_vvvvweavyi_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -303,50 +235,118 @@ function vvvvwea(protocol_vvvvwea,authentication_vvvvwea)
|
||||
function protocol_vvvvwea_SomeFunc(protocol_vvvvwea)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwea == 2)
|
||||
if (protocol_vvvvwea == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwea Some function
|
||||
function authentication_vvvvwea_SomeFunc(authentication_vvvvwea)
|
||||
// the vvvvweb function
|
||||
function vvvvweb(protocol_vvvvweb,authentication_vvvvweb)
|
||||
{
|
||||
if (isSet(protocol_vvvvweb) && protocol_vvvvweb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvweb = protocol_vvvvweb;
|
||||
var protocol_vvvvweb = [];
|
||||
protocol_vvvvweb.push(temp_vvvvweb);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvweb))
|
||||
{
|
||||
var protocol_vvvvweb = [];
|
||||
}
|
||||
var protocol = protocol_vvvvweb.some(protocol_vvvvweb_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvweb) && authentication_vvvvweb.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvweb = authentication_vvvvweb;
|
||||
var authentication_vvvvweb = [];
|
||||
authentication_vvvvweb.push(temp_vvvvweb);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvweb))
|
||||
{
|
||||
var authentication_vvvvweb = [];
|
||||
}
|
||||
var authentication = authentication_vvvvweb.some(authentication_vvvvweb_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
if (protocol && authentication)
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').show();
|
||||
// add required attribute to password field
|
||||
if (jform_vvvvwebvyj_required)
|
||||
{
|
||||
updateFieldRequired('password',0);
|
||||
jQuery('#jform_password').prop('required','required');
|
||||
jQuery('#jform_password').attr('aria-required',true);
|
||||
jQuery('#jform_password').addClass('required');
|
||||
jform_vvvvwebvyj_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_password').closest('.control-group').hide();
|
||||
// remove required attribute from password field
|
||||
if (!jform_vvvvwebvyj_required)
|
||||
{
|
||||
updateFieldRequired('password',1);
|
||||
jQuery('#jform_password').removeAttr('required');
|
||||
jQuery('#jform_password').removeAttr('aria-required');
|
||||
jQuery('#jform_password').removeClass('required');
|
||||
jform_vvvvwebvyj_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvweb Some function
|
||||
function protocol_vvvvweb_SomeFunc(protocol_vvvvweb)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwea == 1 || authentication_vvvvwea == 3 || authentication_vvvvwea == 5)
|
||||
if (protocol_vvvvweb == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwec function
|
||||
function vvvvwec(protocol_vvvvwec,authentication_vvvvwec)
|
||||
// the vvvvweb Some function
|
||||
function authentication_vvvvweb_SomeFunc(authentication_vvvvweb)
|
||||
{
|
||||
if (isSet(protocol_vvvvwec) && protocol_vvvvwec.constructor !== Array)
|
||||
// set the function logic
|
||||
if (authentication_vvvvweb == 1 || authentication_vvvvweb == 3 || authentication_vvvvweb == 5)
|
||||
{
|
||||
var temp_vvvvwec = protocol_vvvvwec;
|
||||
var protocol_vvvvwec = [];
|
||||
protocol_vvvvwec.push(temp_vvvvwec);
|
||||
return true;
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwec))
|
||||
{
|
||||
var protocol_vvvvwec = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwec.some(protocol_vvvvwec_SomeFunc);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isSet(authentication_vvvvwec) && authentication_vvvvwec.constructor !== Array)
|
||||
// the vvvvwed function
|
||||
function vvvvwed(protocol_vvvvwed,authentication_vvvvwed)
|
||||
{
|
||||
if (isSet(protocol_vvvvwed) && protocol_vvvvwed.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwec = authentication_vvvvwec;
|
||||
var authentication_vvvvwec = [];
|
||||
authentication_vvvvwec.push(temp_vvvvwec);
|
||||
var temp_vvvvwed = protocol_vvvvwed;
|
||||
var protocol_vvvvwed = [];
|
||||
protocol_vvvvwed.push(temp_vvvvwed);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwec))
|
||||
else if (!isSet(protocol_vvvvwed))
|
||||
{
|
||||
var authentication_vvvvwec = [];
|
||||
var protocol_vvvvwed = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwec.some(authentication_vvvvwec_SomeFunc);
|
||||
var protocol = protocol_vvvvwed.some(protocol_vvvvwed_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwed) && authentication_vvvvwed.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwed = authentication_vvvvwed;
|
||||
var authentication_vvvvwed = [];
|
||||
authentication_vvvvwed.push(temp_vvvvwed);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwed))
|
||||
{
|
||||
var authentication_vvvvwed = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwed.some(authentication_vvvvwed_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -354,78 +354,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_vvvvwedvyk_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_vvvvwedvyk_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private').closest('.control-group').hide();
|
||||
// remove required attribute from private field
|
||||
if (!jform_vvvvwecvyk_required)
|
||||
if (!jform_vvvvwedvyk_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_vvvvwedvyk_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwec Some function
|
||||
function protocol_vvvvwec_SomeFunc(protocol_vvvvwec)
|
||||
// the vvvvwed Some function
|
||||
function protocol_vvvvwed_SomeFunc(protocol_vvvvwed)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwec == 2)
|
||||
if (protocol_vvvvwed == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwec Some function
|
||||
function authentication_vvvvwec_SomeFunc(authentication_vvvvwec)
|
||||
// the vvvvwed Some function
|
||||
function authentication_vvvvwed_SomeFunc(authentication_vvvvwed)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwec == 2 || authentication_vvvvwec == 3)
|
||||
if (authentication_vvvvwed == 2 || authentication_vvvvwed == 3)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwee function
|
||||
function vvvvwee(protocol_vvvvwee,authentication_vvvvwee)
|
||||
// the vvvvwef function
|
||||
function vvvvwef(protocol_vvvvwef,authentication_vvvvwef)
|
||||
{
|
||||
if (isSet(protocol_vvvvwee) && protocol_vvvvwee.constructor !== Array)
|
||||
if (isSet(protocol_vvvvwef) && protocol_vvvvwef.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwee = protocol_vvvvwee;
|
||||
var protocol_vvvvwee = [];
|
||||
protocol_vvvvwee.push(temp_vvvvwee);
|
||||
var temp_vvvvwef = protocol_vvvvwef;
|
||||
var protocol_vvvvwef = [];
|
||||
protocol_vvvvwef.push(temp_vvvvwef);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvwee))
|
||||
else if (!isSet(protocol_vvvvwef))
|
||||
{
|
||||
var protocol_vvvvwee = [];
|
||||
var protocol_vvvvwef = [];
|
||||
}
|
||||
var protocol = protocol_vvvvwee.some(protocol_vvvvwee_SomeFunc);
|
||||
var protocol = protocol_vvvvwef.some(protocol_vvvvwef_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvwee) && authentication_vvvvwee.constructor !== Array)
|
||||
if (isSet(authentication_vvvvwef) && authentication_vvvvwef.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwee = authentication_vvvvwee;
|
||||
var authentication_vvvvwee = [];
|
||||
authentication_vvvvwee.push(temp_vvvvwee);
|
||||
var temp_vvvvwef = authentication_vvvvwef;
|
||||
var authentication_vvvvwef = [];
|
||||
authentication_vvvvwef.push(temp_vvvvwef);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvwee))
|
||||
else if (!isSet(authentication_vvvvwef))
|
||||
{
|
||||
var authentication_vvvvwee = [];
|
||||
var authentication_vvvvwef = [];
|
||||
}
|
||||
var authentication = authentication_vvvvwee.some(authentication_vvvvwee_SomeFunc);
|
||||
var authentication = authentication_vvvvwef.some(authentication_vvvvwef_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -433,78 +433,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_vvvvwefvyl_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_vvvvwefvyl_required = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
jQuery('#jform_private_key').closest('.control-group').hide();
|
||||
// remove required attribute from private_key field
|
||||
if (!jform_vvvvweevyl_required)
|
||||
if (!jform_vvvvwefvyl_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_vvvvwefvyl_required = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwee Some function
|
||||
function protocol_vvvvwee_SomeFunc(protocol_vvvvwee)
|
||||
// the vvvvwef Some function
|
||||
function protocol_vvvvwef_SomeFunc(protocol_vvvvwef)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvwee == 2)
|
||||
if (protocol_vvvvwef == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvwee Some function
|
||||
function authentication_vvvvwee_SomeFunc(authentication_vvvvwee)
|
||||
// the vvvvwef Some function
|
||||
function authentication_vvvvwef_SomeFunc(authentication_vvvvwef)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvwee == 4 || authentication_vvvvwee == 5)
|
||||
if (authentication_vvvvwef == 4 || authentication_vvvvwef == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvweg function
|
||||
function vvvvweg(protocol_vvvvweg,authentication_vvvvweg)
|
||||
// the vvvvweh function
|
||||
function vvvvweh(protocol_vvvvweh,authentication_vvvvweh)
|
||||
{
|
||||
if (isSet(protocol_vvvvweg) && protocol_vvvvweg.constructor !== Array)
|
||||
if (isSet(protocol_vvvvweh) && protocol_vvvvweh.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvweg = protocol_vvvvweg;
|
||||
var protocol_vvvvweg = [];
|
||||
protocol_vvvvweg.push(temp_vvvvweg);
|
||||
var temp_vvvvweh = protocol_vvvvweh;
|
||||
var protocol_vvvvweh = [];
|
||||
protocol_vvvvweh.push(temp_vvvvweh);
|
||||
}
|
||||
else if (!isSet(protocol_vvvvweg))
|
||||
else if (!isSet(protocol_vvvvweh))
|
||||
{
|
||||
var protocol_vvvvweg = [];
|
||||
var protocol_vvvvweh = [];
|
||||
}
|
||||
var protocol = protocol_vvvvweg.some(protocol_vvvvweg_SomeFunc);
|
||||
var protocol = protocol_vvvvweh.some(protocol_vvvvweh_SomeFunc);
|
||||
|
||||
if (isSet(authentication_vvvvweg) && authentication_vvvvweg.constructor !== Array)
|
||||
if (isSet(authentication_vvvvweh) && authentication_vvvvweh.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvweg = authentication_vvvvweg;
|
||||
var authentication_vvvvweg = [];
|
||||
authentication_vvvvweg.push(temp_vvvvweg);
|
||||
var temp_vvvvweh = authentication_vvvvweh;
|
||||
var authentication_vvvvweh = [];
|
||||
authentication_vvvvweh.push(temp_vvvvweh);
|
||||
}
|
||||
else if (!isSet(authentication_vvvvweg))
|
||||
else if (!isSet(authentication_vvvvweh))
|
||||
{
|
||||
var authentication_vvvvweg = [];
|
||||
var authentication_vvvvweh = [];
|
||||
}
|
||||
var authentication = authentication_vvvvweg.some(authentication_vvvvweg_SomeFunc);
|
||||
var authentication = authentication_vvvvweh.some(authentication_vvvvweh_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -518,22 +518,22 @@ function vvvvweg(protocol_vvvvweg,authentication_vvvvweg)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvweg Some function
|
||||
function protocol_vvvvweg_SomeFunc(protocol_vvvvweg)
|
||||
// the vvvvweh Some function
|
||||
function protocol_vvvvweh_SomeFunc(protocol_vvvvweh)
|
||||
{
|
||||
// set the function logic
|
||||
if (protocol_vvvvweg == 2)
|
||||
if (protocol_vvvvweh == 2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// the vvvvweg Some function
|
||||
function authentication_vvvvweg_SomeFunc(authentication_vvvvweg)
|
||||
// the vvvvweh Some function
|
||||
function authentication_vvvvweh_SomeFunc(authentication_vvvvweh)
|
||||
{
|
||||
// set the function logic
|
||||
if (authentication_vvvvweg == 2 || authentication_vvvvweg == 3 || authentication_vvvvweg == 4 || authentication_vvvvweg == 5)
|
||||
if (authentication_vvvvweh == 2 || authentication_vvvvweh == 3 || authentication_vvvvweh == 4 || authentication_vvvvweh == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -12,45 +12,45 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(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_vvvvwao = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwao(add_php_view_vvvvwao);
|
||||
|
||||
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_vvvvwap = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val();
|
||||
vvvvwap(add_php_jview_display_vvvvwap);
|
||||
|
||||
var add_php_jview_vvvvwap = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvwap(add_php_jview_vvvvwap);
|
||||
var add_php_jview_vvvvwaq = jQuery("#jform_add_php_jview input[type='radio']:checked").val();
|
||||
vvvvwaq(add_php_jview_vvvvwaq);
|
||||
|
||||
var add_php_document_vvvvwaq = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvwaq(add_php_document_vvvvwaq);
|
||||
var add_php_document_vvvvwar = jQuery("#jform_add_php_document input[type='radio']:checked").val();
|
||||
vvvvwar(add_php_document_vvvvwar);
|
||||
|
||||
var add_css_document_vvvvwar = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvwar(add_css_document_vvvvwar);
|
||||
var add_css_document_vvvvwas = jQuery("#jform_add_css_document input[type='radio']:checked").val();
|
||||
vvvvwas(add_css_document_vvvvwas);
|
||||
|
||||
var add_javascript_file_vvvvwas = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvwas(add_javascript_file_vvvvwas);
|
||||
var add_javascript_file_vvvvwat = jQuery("#jform_add_javascript_file input[type='radio']:checked").val();
|
||||
vvvvwat(add_javascript_file_vvvvwat);
|
||||
|
||||
var add_js_document_vvvvwat = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvwat(add_js_document_vvvvwat);
|
||||
var add_js_document_vvvvwau = jQuery("#jform_add_js_document input[type='radio']:checked").val();
|
||||
vvvvwau(add_js_document_vvvvwau);
|
||||
|
||||
var add_css_vvvvwau = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvwau(add_css_vvvvwau);
|
||||
var add_css_vvvvwav = jQuery("#jform_add_css input[type='radio']:checked").val();
|
||||
vvvvwav(add_css_vvvvwav);
|
||||
|
||||
var add_php_ajax_vvvvwav = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvwav(add_php_ajax_vvvvwav);
|
||||
var add_php_ajax_vvvvwaw = jQuery("#jform_add_php_ajax input[type='radio']:checked").val();
|
||||
vvvvwaw(add_php_ajax_vvvvwaw);
|
||||
|
||||
var add_custom_button_vvvvwaw = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwaw(add_custom_button_vvvvwaw);
|
||||
var add_custom_button_vvvvwax = jQuery("#jform_add_custom_button input[type='radio']:checked").val();
|
||||
vvvvwax(add_custom_button_vvvvwax);
|
||||
|
||||
var button_position_vvvvwax = jQuery("#jform_button_position").val();
|
||||
vvvvwax(button_position_vvvvwax);
|
||||
var button_position_vvvvway = jQuery("#jform_button_position").val();
|
||||
vvvvway(button_position_vvvvway);
|
||||
});
|
||||
|
||||
// the vvvvwan function
|
||||
function vvvvwan(add_php_view_vvvvwan)
|
||||
// the vvvvwao function
|
||||
function vvvvwao(add_php_view_vvvvwao)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvwan == 1)
|
||||
if (add_php_view_vvvvwao == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -60,11 +60,11 @@ function vvvvwan(add_php_view_vvvvwan)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwao function
|
||||
function vvvvwao(add_php_jview_display_vvvvwao)
|
||||
// the vvvvwap function
|
||||
function vvvvwap(add_php_jview_display_vvvvwap)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_display_vvvvwao == 1)
|
||||
if (add_php_jview_display_vvvvwap == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview_display-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -74,11 +74,11 @@ function vvvvwao(add_php_jview_display_vvvvwao)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwap function
|
||||
function vvvvwap(add_php_jview_vvvvwap)
|
||||
// the vvvvwaq function
|
||||
function vvvvwaq(add_php_jview_vvvvwaq)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_jview_vvvvwap == 1)
|
||||
if (add_php_jview_vvvvwaq == 1)
|
||||
{
|
||||
jQuery('#jform_php_jview-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -88,11 +88,11 @@ function vvvvwap(add_php_jview_vvvvwap)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaq function
|
||||
function vvvvwaq(add_php_document_vvvvwaq)
|
||||
// the vvvvwar function
|
||||
function vvvvwar(add_php_document_vvvvwar)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_document_vvvvwaq == 1)
|
||||
if (add_php_document_vvvvwar == 1)
|
||||
{
|
||||
jQuery('#jform_php_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -102,11 +102,11 @@ function vvvvwaq(add_php_document_vvvvwaq)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwar function
|
||||
function vvvvwar(add_css_document_vvvvwar)
|
||||
// the vvvvwas function
|
||||
function vvvvwas(add_css_document_vvvvwas)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_document_vvvvwar == 1)
|
||||
if (add_css_document_vvvvwas == 1)
|
||||
{
|
||||
jQuery('#jform_css_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -116,11 +116,11 @@ function vvvvwar(add_css_document_vvvvwar)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwas function
|
||||
function vvvvwas(add_javascript_file_vvvvwas)
|
||||
// the vvvvwat function
|
||||
function vvvvwat(add_javascript_file_vvvvwat)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_javascript_file_vvvvwas == 1)
|
||||
if (add_javascript_file_vvvvwat == 1)
|
||||
{
|
||||
jQuery('#jform_javascript_file-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -130,11 +130,11 @@ function vvvvwas(add_javascript_file_vvvvwas)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwat function
|
||||
function vvvvwat(add_js_document_vvvvwat)
|
||||
// the vvvvwau function
|
||||
function vvvvwau(add_js_document_vvvvwau)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_js_document_vvvvwat == 1)
|
||||
if (add_js_document_vvvvwau == 1)
|
||||
{
|
||||
jQuery('#jform_js_document-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -144,11 +144,11 @@ function vvvvwat(add_js_document_vvvvwat)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwau function
|
||||
function vvvvwau(add_css_vvvvwau)
|
||||
// the vvvvwav function
|
||||
function vvvvwav(add_css_vvvvwav)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_css_vvvvwau == 1)
|
||||
if (add_css_vvvvwav == 1)
|
||||
{
|
||||
jQuery('#jform_css-lbl').closest('.control-group').show();
|
||||
}
|
||||
@ -158,11 +158,11 @@ function vvvvwau(add_css_vvvvwau)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwav function
|
||||
function vvvvwav(add_php_ajax_vvvvwav)
|
||||
// the vvvvwaw function
|
||||
function vvvvwaw(add_php_ajax_vvvvwaw)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_ajax_vvvvwav == 1)
|
||||
if (add_php_ajax_vvvvwaw == 1)
|
||||
{
|
||||
jQuery('#jform_ajax_input-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_ajaxmethod-lbl').closest('.control-group').show();
|
||||
@ -174,11 +174,11 @@ function vvvvwav(add_php_ajax_vvvvwav)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwaw function
|
||||
function vvvvwaw(add_custom_button_vvvvwaw)
|
||||
// the vvvvwax function
|
||||
function vvvvwax(add_custom_button_vvvvwax)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_custom_button_vvvvwaw == 1)
|
||||
if (add_custom_button_vvvvwax == 1)
|
||||
{
|
||||
jQuery('#jform_custom_button-lbl').closest('.control-group').show();
|
||||
jQuery('#jform_php_controller-lbl').closest('.control-group').show();
|
||||
@ -192,20 +192,20 @@ function vvvvwaw(add_custom_button_vvvvwaw)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwax function
|
||||
function vvvvwax(button_position_vvvvwax)
|
||||
// the vvvvway function
|
||||
function vvvvway(button_position_vvvvway)
|
||||
{
|
||||
if (isSet(button_position_vvvvwax) && button_position_vvvvwax.constructor !== Array)
|
||||
if (isSet(button_position_vvvvway) && button_position_vvvvway.constructor !== Array)
|
||||
{
|
||||
var temp_vvvvwax = button_position_vvvvwax;
|
||||
var button_position_vvvvwax = [];
|
||||
button_position_vvvvwax.push(temp_vvvvwax);
|
||||
var temp_vvvvway = button_position_vvvvway;
|
||||
var button_position_vvvvway = [];
|
||||
button_position_vvvvway.push(temp_vvvvway);
|
||||
}
|
||||
else if (!isSet(button_position_vvvvwax))
|
||||
else if (!isSet(button_position_vvvvway))
|
||||
{
|
||||
var button_position_vvvvwax = [];
|
||||
var button_position_vvvvway = [];
|
||||
}
|
||||
var button_position = button_position_vvvvwax.some(button_position_vvvvwax_SomeFunc);
|
||||
var button_position = button_position_vvvvway.some(button_position_vvvvway_SomeFunc);
|
||||
|
||||
|
||||
// set this function logic
|
||||
@ -219,11 +219,11 @@ function vvvvwax(button_position_vvvvwax)
|
||||
}
|
||||
}
|
||||
|
||||
// the vvvvwax Some function
|
||||
function button_position_vvvvwax_SomeFunc(button_position_vvvvwax)
|
||||
// the vvvvway Some function
|
||||
function button_position_vvvvway_SomeFunc(button_position_vvvvway)
|
||||
{
|
||||
// set the function logic
|
||||
if (button_position_vvvvwax == 5)
|
||||
if (button_position_vvvvway == 5)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -12,15 +12,15 @@
|
||||
// Initial Script
|
||||
jQuery(document).ready(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_vvvvwaz = jQuery("#jform_add_php_view input[type='radio']:checked").val();
|
||||
vvvvwaz(add_php_view_vvvvwaz);
|
||||
});
|
||||
|
||||
// the vvvvway function
|
||||
function vvvvway(add_php_view_vvvvway)
|
||||
// the vvvvwaz function
|
||||
function vvvvwaz(add_php_view_vvvvwaz)
|
||||
{
|
||||
// set the function logic
|
||||
if (add_php_view_vvvvway == 1)
|
||||
if (add_php_view_vvvvwaz == 1)
|
||||
{
|
||||
jQuery('#jform_php_view-lbl').closest('.control-group').show();
|
||||
}
|
||||
|
Reference in New Issue
Block a user