added interface of the new decoupled libraries concept gh-92

This commit is contained in:
2017-11-26 02:29:08 +02:00
parent 9760ac86a3
commit 82df61aa4a
174 changed files with 11626 additions and 1094 deletions

View File

@ -126,7 +126,7 @@ jQuery(document).ready(function(){
<?php foreach($numberAddconditions as $fieldNr): ?>
jQuery('#adminForm').on('change', '#jform_addconditions__addconditions<?php echo $fieldNr ?>__match_field',function (e) {
e.preventDefault();
getFieldSelectOptions(<?php echo $fieldNr ?>, "_", "_");
getFieldSelectOptions(<?php echo $fieldNr ?>);
});
<?php endforeach; ?>
jQuery(document).on('subform-row-add', function(event, row){
@ -134,9 +134,9 @@ jQuery(document).ready(function(){
var fieldName = groupName.replace(/([0-9])/g, '');
var fieldNr = groupName.replace(/([A-z_])/g, '');
if ('addconditions' === fieldName) {
jQuery('#adminForm').on('change', '#jform_addconditions_addconditions'+fieldNr+'_match_field',function (e) {
jQuery('#adminForm').on('change', '#jform_addconditions__addconditions'+fieldNr+'__match_field',function (e) {
e.preventDefault();
getFieldSelectOptions(fieldNr, "", "");
getFieldSelectOptions(fieldNr);
});
}
});