fix gh-78 to ensure the field options get loaded in the repeatable conditions

This commit is contained in:
2017-05-08 11:09:24 +03:00
parent 4cead46ac4
commit 9b1f111251
265 changed files with 292 additions and 292 deletions

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage edit.php
@@ -683,19 +683,19 @@ jQuery('input.form-field-repeatable').on('row-add', function (e) {
});
<?php endforeach; ?><?php $fieldNrs = range(1,500,1); ?>
jQuery('#jform_addconditions_modal').on('show.bs.modal', function (e) {
<?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_addconditions_modal').on('change', '#jform_addconditions_fields_match_field-<?php echo $fieldNr ?>',function (e) {
<?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_addconditions_modal').on('change', '#<?php echo $fieldNr ?>-jform_addconditions_fields_match_field',function (e) {
e.preventDefault();
// get options
var fieldId_<?php echo $fieldNr ?> = jQuery("#jform_addconditions_fields_match_field-<?php echo $fieldNr ?> option:selected").val();
var fieldId_<?php echo $fieldNr ?> = jQuery("#<?php echo $fieldNr ?>-jform_addconditions_fields_match_field option:selected").val();
getFieldSelectOptions(fieldId_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>);
});
<?php endforeach; ?>
});
jQuery('#jform_addtables_modal').on('show.bs.modal', function (e) {
<?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_addtables_modal').on('change', '#jform_addtables_fields_table-<?php echo $fieldNr ?>',function (e) {
<?php foreach($fieldNrs as $fieldNr): ?>jQuery('#jform_addtables_modal').on('change', '#<?php echo $fieldNr ?>-jform_addtables_fields_table',function (e) {
e.preventDefault();
// get options
var tableName_<?php echo $fieldNr ?> = jQuery("#jform_addtables_fields_table-<?php echo $fieldNr ?> option:selected").val();
var tableName_<?php echo $fieldNr ?> = jQuery("#<?php echo $fieldNr ?>-jform_addtables_fields_table option:selected").val();
getTableColumns(tableName_<?php echo $fieldNr ?>,<?php echo $fieldNr ?>);
});
<?php endforeach; ?>

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 110 of this MVC
@build 25th April, 2017
@version @update number 111 of this MVC
@build 7th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 48 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 1st February, 2017
@package Component Builder
@subpackage default.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 48 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 1st February, 2017
@package Component Builder
@subpackage view.html.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_closed_issues_the_closed_issues_on_github.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_main.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_open_issues_the_open_issues_on_github.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_readme_information.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_vast_development_method_notice_board.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_vdm.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage submitbutton.js

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage edit.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage view.html.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage default.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage default_batch_body.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage default_batch_footer.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage default_body.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage default_foot.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage default_head.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage default_toolbar.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 82 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 11th October, 2016
@package Component Builder
@subpackage view.html.php

View File

@@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage submitbutton.js

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage edit.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage view.html.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage default.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage default_batch_body.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage default_batch_footer.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage default_body.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage default_foot.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage default_head.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage default_toolbar.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 6 of this MVC
@build 18th October, 2016
@build 17th October, 2016
@created 4th March, 2016
@package Component Builder
@subpackage view.html.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.4.5
@build 4th May, 2017
@build 8th May, 2017
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@@ -10,7 +10,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage edit.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage view.html.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage default.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage default_body.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage default_foot.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage default_head.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@@ -11,7 +11,7 @@
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 337 of this MVC
@build 26th April, 2017
@build 25th April, 2017
@created 6th May, 2015
@package Component Builder
@subpackage view.html.php