Further improved #37 to ensure language strings are set and reversed, also add extra buttons to the compiler page. Major restructure of custom code implementation to make it more stable. Resolved #40 by updating the default field sql values.

This commit is contained in:
2017-02-14 01:24:38 +02:00
parent de008d5907
commit 290a51dd5a
247 changed files with 2394 additions and 1513 deletions

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 35 of this MVC
@build 10th February, 2017
@version @update number 55 of this MVC
@build 13th February, 2017
@created 11th October, 2016
@package Component Builder
@subpackage edit.php
@ -224,9 +224,24 @@ jQuery('#adminForm').on('change', '#jform_target',function (e)
});
var ide = jQuery('#jform_id').val();
if (ide > 0) {
jQuery('#jcb-placeholder').html('<code> [CUSTO'+'MCODE='+ide+'] </code>');
jQuery('#jcb-placeholder-arg').html('<code> [CUSTO'+'MCODE='+ide+'&#43;value1,value2] </code>');
}
jQuery('#adminForm').on('change', '#jform_function_name',function (e)
{
e.preventDefault();
var target = jQuery("#jform_target input[type='radio']:checked").val();
if (target == 2) {
var functioName = jQuery('#jform_function_name').val();
// check if this function name is taken
checkFunctionName(functioName);
}
});
jQuery('#adminForm').on('change', '#jform_target',function (e)
{
e.preventDefault();
var target = jQuery("#jform_target input[type='radio']:checked").val();
if (target == 2) {
var functioName = jQuery('#jform_function_name').val();
// check if this function name is taken
checkFunctionName(functioName);
}
});
</script>