Resolved gh-418 by adding an on before cancel custom script area to the admin view.

This commit is contained in:
2019-06-12 22:06:19 +02:00
parent c8b5993219
commit eae13dff06
45 changed files with 3943 additions and 3813 deletions

View File

@@ -129,18 +129,18 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript">
// #jform_add_php_view listeners for add_php_view_vvvvvzd function
// #jform_add_php_view listeners for add_php_view_vvvvvze function
jQuery('#jform_add_php_view').on('keyup',function()
{
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzd(add_php_view_vvvvvzd);
var add_php_view_vvvvvze = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvze(add_php_view_vvvvvze);
});
jQuery('#adminForm').on('change', '#jform_add_php_view',function (e)
{
e.preventDefault();
var add_php_view_vvvvvzd = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvzd(add_php_view_vvvvvzd);
var add_php_view_vvvvvze = jQuery("#jform_add_php_view input[type='radio']:checked").val();
vvvvvze(add_php_view_vvvvvze);
});